Skip to content

Commit

Permalink
Merge pull request #47106 from nextcloud/fix/files-padding
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Aug 7, 2024
2 parents 9b511d1 + 827c6fd commit a46e0a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/files/src/components/FilesListTableHeaderButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default defineComponent({
<style scoped lang="scss">
.files-list__column-sort-button {
// Compensate for cells margin
margin: 0 calc(var(--cell-margin) * -1);
margin: 0 calc(var(--button-padding, var(--cell-margin)) * -1);
min-width: calc(100% - 3 * var(--cell-margin))!important;
&-text {
Expand Down
3 changes: 2 additions & 1 deletion apps/files/src/components/FilesListVirtual.vue
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ export default defineComponent({
// Necessary for flex grow to work
min-width: 0;
margin: 0;
padding: 0;
// Already added to the inner text, see rule below
&:focus-visible {
Expand All @@ -630,7 +631,7 @@ export default defineComponent({
color: var(--color-main-text);
// Make some space for the outline
padding: var(--default-grid-baseline) calc(2 * var(--default-grid-baseline));
margin-left: -10px;
padding-left: 0;
// Align two name and ext
display: inline-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 a46e0a7

Please sign in to comment.