Skip to content

Commit

Permalink
Merge pull request #44251 from nextcloud/backport/manual/44217/stable28
Browse files Browse the repository at this point in the history
fix: List specific share permissions as subline
  • Loading branch information
Fenn-CS authored Mar 18, 2024
2 parents 7ef67b8 + aaf9421 commit fc402e5
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 10 deletions.
15 changes: 12 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,16 @@ export default {
flex-direction: column;
}
}
/* Target component based style in NcCheckboxRadioSwitch slot content*/
:deep(span.checkbox-content__text.checkbox-radio-switch__text) {
flex-wrap: wrap;
.subline {
display: block;
flex-basis: 100%;
}
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions dist/5709-5709.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions dist/5709-5709.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/8284-8284.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/8284-8284.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit fc402e5

Please sign in to comment.