Merge pull request #47106 from nextcloud/fix/files-padding

This commit is contained in:
John Molakvoæ 2024-08-07 17:28:10 +02:00 committed by GitHub
commit a46e0a7405
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

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

View file

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

4
dist/files-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long