mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 07:43:18 -04:00
Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
This commit is contained in:
commit
891097b42b
4 changed files with 5 additions and 4 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
4
dist/files-main.js
vendored
4
dist/files-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-main.js.map
vendored
2
dist/files-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue