diff --git a/src/App.vue b/src/App.vue index 2067c4d8..847d9c98 100644 --- a/src/App.vue +++ b/src/App.vue @@ -138,4 +138,11 @@ body { width: calc(100% - var(--body-container-margin)*1); // was *2 } + +// Fill all available space +.fill-block { + width: 100%; + height: 100%; + display: block; +} diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 32b26bcd..769ea6fb 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -51,20 +51,18 @@ class="photo-row" :style="{ height: rowHeight + 'px' }"> -
+
-
-
+ @click="openFolder(data)"> +
{{ data.name }}
-
+
@@ -47,7 +44,6 @@ import FolderIcon from 'vue-material-design-icons/Folder.vue'; }) export default class Folder extends Mixins(GlobalMixin) { @Prop() data: IFolder; - @Prop() rowHeight: number; // Separate property because the one on data isn't reactive private previewFileInfos: IFileInfo[] = []; @@ -127,7 +123,6 @@ export default class Folder extends Mixins(GlobalMixin) { z-index: 100; position: absolute; top: 0; left: 0; - width: 100%; height: 100%; transition: opacity 0.2s ease-in-out; > .name { @@ -176,7 +171,6 @@ export default class Folder extends Mixins(GlobalMixin) { z-index: 3; line-height: 0; position: absolute; - height: 100%; width: 100%; padding: 2px; @media (max-width: 768px) { padding: 1px; } @@ -194,8 +188,6 @@ export default class Folder extends Mixins(GlobalMixin) { > img { padding: 0; - width: 100%; - height: 100%; filter: brightness(50%); transition: filter 0.2s ease-in-out; diff --git a/src/components/frame/Photo.vue b/src/components/frame/Photo.vue index 45124433..cdfc341d 100644 --- a/src/components/frame/Photo.vue +++ b/src/components/frame/Photo.vue @@ -1,5 +1,5 @@