Skip to content

Commit

Permalink
fix(files): Remove margin and width to not break layout
Browse files Browse the repository at this point in the history
In grid view, this was messing with the reported available list width which was breaking the computed layout.

Fix #47599

Signed-off-by: nextcloud-command <[email protected]>
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Aug 29, 2024
1 parent 9e2db34 commit edb05e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,6 @@ tbody.files-list__tbody.files-list__tbody--grid {
align-items: center;
justify-content: space-around;
justify-items: center;
margin: 16px;
width: calc(100% - 32px);

tr {
display: flex;
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 edb05e6

Please sign in to comment.