fix: added a label element to the NcSelect in update settings

Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Eduardo Morales 2024-01-24 12:38:31 -06:00 committed by nextcloud-command
parent d1e726d363
commit 35518bcfd6
7 changed files with 19 additions and 13 deletions

View file

@ -131,8 +131,9 @@
<em v-html="noteDelayedStableString" />
</p>
<h4>{{ t('updatenotification', 'Notify members of the following groups about available updates:') }}</h4>
<NcSelect v-model="notifyGroups"
id="notify-members-settings-select-wrapper"
:input-label="t('updatenotification', 'Notify members of the following groups about available updates:')"
:options="groups"
:multiple="true"
label="displayname"
@ -483,9 +484,6 @@ export default {
}
}
}
h4 {
margin-block-end: 0.7rem;
}
.update-channel-selector {
display: flex;
align-items: center;
@ -547,5 +545,13 @@ export default {
.update-menu .icon-star:focus {
background-image: var(--icon-starred);
}
/* override NcSelect styling so that label can have correct width */
#notify-members-settings-select-wrapper {
width: fit-content;
.vs__dropdown-toggle {
min-width: 100%;
}
}
}
</style>

4
dist/614-614.js vendored

File diff suppressed because one or more lines are too long

2
dist/614-614.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long