Skip to content

Commit

Permalink
Show quick permission subline on newline
Browse files Browse the repository at this point in the history
- Show quick permission details/explanations on subline

- Fix icon colors, should be white (or component set color) when highlighted.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
Fenn-CS committed Mar 18, 2024
1 parent 7ef67b8 commit ac7d767
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
button-variant-grouped="vertical"
@update:checked="toggleCustomPermissions">
{{ t('files_sharing', 'File drop') }}
<small>{{ t('files_sharing', 'Upload only') }}</small>
<small class="subline">{{ t('files_sharing', 'Upload only') }}</small>
<template #icon>
<UploadIcon :size="20" />
</template>
Expand All @@ -69,7 +69,7 @@
button-variant-grouped="vertical"
@update:checked="expandCustomPermissions">
{{ t('files_sharing', 'Custom permissions') }}
<small>{{ customPermissionsList }}</small>
<small class="subline">{{ customPermissionsList }}</small>
<template #icon>
<DotsHorizontalIcon :size="20" />
</template>
Expand Down Expand Up @@ -993,7 +993,6 @@ export default {
span:nth-child(1) {
align-items: center;
justify-content: center;
color: var(--color-primary-element);
padding: 0.1em;
}
Expand All @@ -1004,6 +1003,10 @@ export default {
flex-direction: column;
}
}
.subline {
display: block;
}
}
}
Expand Down

0 comments on commit ac7d767

Please sign in to comment.