diff options
author | Louis Chemineau <louis@chmn.me> | 2024-07-04 16:44:18 +0200 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-07-04 18:49:37 +0200 |
commit | d30d7de56f2fe7632479bce55e76bc3ef4530bf7 (patch) | |
tree | 84a458caf735aa0932a0f1f52590b35bb241aafe /apps/files/src/components/VirtualList.vue | |
parent | e8790f0b891b72b98b507eb21ce9a3f9fcff7d2e (diff) | |
download | nextcloud-server-d30d7de56f2fe7632479bce55e76bc3ef4530bf7.tar.gz nextcloud-server-d30d7de56f2fe7632479bce55e76bc3ef4530bf7.zip |
feat(files): Refresh grid view layout
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files/src/components/VirtualList.vue')
-rw-r--r-- | apps/files/src/components/VirtualList.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/src/components/VirtualList.vue b/apps/files/src/components/VirtualList.vue index daaa64056ac..0ca2d869d17 100644 --- a/apps/files/src/components/VirtualList.vue +++ b/apps/files/src/components/VirtualList.vue @@ -127,13 +127,13 @@ export default Vue.extend({ itemHeight() { // Align with css in FilesListVirtual - // 138px + 44px (name) + 15px (grid gap) - return this.gridMode ? (138 + 44 + 15) : 55 + // 208px + 32px (name) + 16px (mtime) + 16px (padding) + 22px (grid gap) + return this.gridMode ? (208 + 32 + 16 + 16 + 22) : 55 }, // Grid mode only itemWidth() { - // 160px + 15px grid gap - return 160 + 15 + // 208px + 16px padding + 22px grid gap + return 208 + 16 + 22 }, rowCount() { |