Skip to content

Commit 6cf76e7

Browse files
committed
Minor style updates
1 parent 96f557b commit 6cf76e7

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

src/views/SharingDetailsTab.vue

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
:value.sync="share.label"
4949
type="text"
5050
:placeholder="t('files_sharing', 'Share label')" />
51+
<NcCheckboxRadioSwitch v-if="isPublicShare"
52+
:disabled="canChangeHideDownload"
53+
:checked.sync="share.hideDownload"
54+
@update:checked="queueUpdate('hideDownload')">
55+
{{ t('files_sharing', 'Hide download') }}
56+
</NcCheckboxRadioSwitch>
5157
<template v-if="isPublicShare">
5258
<NcCheckboxRadioSwitch :checked.sync="isPasswordProtected" :disabled="isPasswordEnforced">
5359
{{ t('nmcsharing', 'Set password') }}
@@ -82,12 +88,6 @@
8288
:placeholder="t('files_sharing', 'Expiration date')"
8389
type="date"
8490
@input="onExpirationChange" />
85-
<NcCheckboxRadioSwitch v-if="isPublicShare"
86-
:disabled="canChangeHideDownload"
87-
:checked.sync="share.hideDownload"
88-
@update:checked="queueUpdate('hideDownload')">
89-
{{ t('files_sharing', 'Hide download') }}
90-
</NcCheckboxRadioSwitch>
9191
<NcCheckboxRadioSwitch :checked.sync="writeNoteToRecipientIsChecked">
9292
{{ t('files_sharing', 'Note to recipient') }}
9393
</NcCheckboxRadioSwitch>
@@ -770,7 +770,8 @@ export default {
770770
margin: 0 auto;
771771
772772
&__header {
773-
font: var(--telekom-text-style-ui-bold);
773+
font: var(--telekom-text-style-heading-5);
774+
font-weight: bold;
774775
}
775776
776777
&__quick-permissions {
@@ -780,13 +781,6 @@ export default {
780781
margin: 0 auto;
781782
border-radius: 0;
782783
783-
// align radiobuttons vertically
784-
div span {
785-
.checkbox-radio-switch__label {
786-
padding-left: 0px;
787-
}
788-
}
789-
790784
.sharing_permission-desc {
791785
color: var(--telekom-color-ui-regular);
792786
}
@@ -843,6 +837,10 @@ export default {
843837
padding-left: 1.5em;
844838
}
845839
}
840+
841+
.checkbox-radio-switch-checkbox {
842+
margin-top: 0.5rem;
843+
}
846844
}
847845
848846
&__footer {

0 commit comments

Comments
 (0)