Browse Source
Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
pull/40933/head
Ferdinand Thiessen
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
5 additions and
4 deletions
-
apps/files/src/components/FilesListVirtual.vue
-
apps/files/src/components/VirtualList.vue
-
dist/files-main.js
-
dist/files-main.js.map
|
|
|
@ -366,6 +366,7 @@ export default Vue.extend({ |
|
|
|
width: 100%; |
|
|
|
user-select: none; |
|
|
|
border-bottom: 1px solid var(--color-border); |
|
|
|
box-sizing: border-box; |
|
|
|
user-select: none; |
|
|
|
height: var(--row-height); |
|
|
|
} |
|
|
|
|
|
|
|
@ -104,7 +104,7 @@ export default Vue.extend({ |
|
|
|
itemHeight() { |
|
|
|
// Align with css in FilesListVirtual |
|
|
|
// 138px + 44px (name) + 15px (grid gap) |
|
|
|
return this.gridMode ? (160 + 44 + 15) : 56 |
|
|
|
return this.gridMode ? (138 + 44 + 15) : 55 |
|
|
|
}, |
|
|
|
// Grid mode only |
|
|
|
itemWidth() { |
|
|
|
|