diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-11-18 12:25:05 +0100 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-11-19 09:42:13 +0100 |
commit | f6e6ba4851cc3ed056f43f3e47cc696bede4e259 (patch) | |
tree | 50c72a54867fee5ff9c87c727c9cc4041ceaa6f2 /apps/files/src/components | |
parent | 212cac94690ae9c9f0616cff8df69229be88dab1 (diff) | |
download | nextcloud-server-f6e6ba4851cc3ed056f43f3e47cc696bede4e259.tar.gz nextcloud-server-f6e6ba4851cc3ed056f43f3e47cc696bede4e259.zip |
refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components')
-rw-r--r-- | apps/files/src/components/FilesListVirtual.vue | 7 | ||||
-rw-r--r-- | apps/files/src/components/LegacyView.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/TemplatePreview.vue | 2 | ||||
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 3 |
4 files changed, 6 insertions, 8 deletions
diff --git a/apps/files/src/components/FilesListVirtual.vue b/apps/files/src/components/FilesListVirtual.vue index 95bd0f6c571..d4c3d9495b7 100644 --- a/apps/files/src/components/FilesListVirtual.vue +++ b/apps/files/src/components/FilesListVirtual.vue @@ -350,7 +350,6 @@ export default defineComponent({ --icon-preview-size: 32px; --fixed-block-start-position: var(--default-clickable-area); - overflow: auto; height: 100%; will-change: scroll-position; @@ -453,7 +452,6 @@ export default defineComponent({ display: flex; align-items: center; width: 100%; - user-select: none; border-block-end: 1px solid var(--color-border); box-sizing: border-box; user-select: none; @@ -764,7 +762,6 @@ tbody.files-list__tbody.files-list__tbody--grid { --row-width: calc(var(--icon-preview-size) + var(--item-padding) * 2); --row-height: calc(var(--icon-preview-size) + var(--name-height) + var(--mtime-height) + var(--item-padding) * 2); --checkbox-padding: 0px; - display: grid; grid-template-columns: repeat(auto-fill, var(--row-width)); @@ -787,8 +784,8 @@ tbody.files-list__tbody.files-list__tbody--grid { .files-list__row-checkbox { position: absolute; z-index: 9; - top: calc(var(--item-padding)/2); - inset-inline-start: calc(var(--item-padding)/2); + top: calc(var(--item-padding) / 2); + inset-inline-start: calc(var(--item-padding) / 2); overflow: hidden; --checkbox-container-size: 44px; width: var(--checkbox-container-size); diff --git a/apps/files/src/components/LegacyView.vue b/apps/files/src/components/LegacyView.vue index b3ec4095fc2..d9baeeb1b07 100644 --- a/apps/files/src/components/LegacyView.vue +++ b/apps/files/src/components/LegacyView.vue @@ -38,5 +38,3 @@ export default { }, } </script> -<style> -</style> diff --git a/apps/files/src/components/TemplatePreview.vue b/apps/files/src/components/TemplatePreview.vue index 57af0bf9b64..46e141c6b3b 100644 --- a/apps/files/src/components/TemplatePreview.vue +++ b/apps/files/src/components/TemplatePreview.vue @@ -198,7 +198,7 @@ export default { &__title { overflow: hidden; // also count preview border - max-width: calc(var(--width) + 2*2px); + max-width: calc(var(--width) + 2 * 2px); padding: var(--margin); white-space: nowrap; text-overflow: ellipsis; diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 5496c9edc92..6b8e0eb77ba 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -206,10 +206,12 @@ export default { .middle-align { vertical-align: middle; } + p { margin-top: 12px; margin-bottom: 12px; } + .new-owner-row { display: flex; flex-wrap: wrap; @@ -229,6 +231,7 @@ p { max-width: 280px; } } + .transfer-select-row { span { margin-inline-end: 8px; |