Skip to content

Commit c994094

Browse files
committed
Show quick permission subline on newline
- Show quick permission details/explanations on subline - Fix icon colors, should be white (or component set color) when highlighted. Signed-off-by: fenn-cs <[email protected]>
1 parent 35934f3 commit c994094

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
button-variant-grouped="vertical"
5757
@update:checked="toggleCustomPermissions">
5858
{{ t('files_sharing', 'File drop') }}
59-
<small>{{ t('files_sharing', 'Upload only') }}</small>
59+
<small class="subline">{{ t('files_sharing', 'Upload only') }}</small>
6060
<template #icon>
6161
<UploadIcon :size="20" />
6262
</template>
@@ -69,7 +69,7 @@
6969
button-variant-grouped="vertical"
7070
@update:checked="expandCustomPermissions">
7171
{{ t('files_sharing', 'Custom permissions') }}
72-
<small>{{ customPermissionsList }}</small>
72+
<small class="subline">{{ customPermissionsList }}</small>
7373
<template #icon>
7474
<DotsHorizontalIcon :size="20" />
7575
</template>
@@ -993,7 +993,6 @@ export default {
993993
span:nth-child(1) {
994994
align-items: center;
995995
justify-content: center;
996-
color: var(--color-primary-element);
997996
padding: 0.1em;
998997
}
999998
@@ -1004,6 +1003,10 @@ export default {
10041003
flex-direction: column;
10051004
}
10061005
}
1006+
1007+
.subline {
1008+
display: block;
1009+
}
10071010
}
10081011
10091012
}

0 commit comments

Comments
 (0)