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
parent
commit
891097b42b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/files/src/components/FilesListVirtual.vue
  2. 2
      apps/files/src/components/VirtualList.vue
  3. 4
      dist/files-main.js
  4. 2
      dist/files-main.js.map

1
apps/files/src/components/FilesListVirtual.vue

@ -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);
}

2
apps/files/src/components/VirtualList.vue

@ -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() {

4
dist/files-main.js
File diff suppressed because it is too large
View File

2
dist/files-main.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save