Skip to content

Commit

Permalink
Merge pull request #41019 from nextcloud/fix-files-vl-h
Browse files Browse the repository at this point in the history
fix(files): correct item height
  • Loading branch information
susnux authored Oct 21, 2023
2 parents a65c08d + 4d578f3 commit 891097b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion apps/files/src/components/VirtualList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 891097b

Please sign in to comment.