feat(settings/admin/ai): increase min width of provider selects

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
pull/46509/head
Julien Veyssier 2024-07-17 11:00:33 +07:00
parent 9dca5ae0e0
commit e312776cf7
No known key found for this signature in database
GPG Key ID: 4141FEE162030638
1 changed files with 6 additions and 0 deletions

@ -12,6 +12,7 @@
<p>{{ type.description }}</p>
<p>&nbsp;</p>
<NcSelect v-model="settings['ai.taskprocessing_provider_preferences'][type.id]"
class="provider-select"
:clearable="false"
:options="taskProcessingProviders.filter(p => p.taskType === type.id).map(p => p.id)"
@input="saveChanges">
@ -93,6 +94,7 @@
<p>{{ getTextProcessingTaskType(type).description }}</p>
<p>&nbsp;</p>
<NcSelect v-model="settings['ai.textprocessing_provider_preferences'][type]"
class="provider-select"
:clearable="false"
:options="textProcessingProviders.filter(p => p.taskType === type).map(p => p.class)"
@input="saveChanges">
@ -239,4 +241,8 @@ export default {
.ai-settings h3 {
font-size: 16px; /* to offset against the 20px section heading */
}
.provider-select {
min-width: 350px !important;
}
</style>