aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2024-07-17 11:00:33 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-07-17 15:24:19 +0200
commite312776cf7a9c2be1cf537ebe9b969a03cf2caca (patch)
tree85c2188a59286d1766155ecae590bbcdf59b5ac6
parent9dca5ae0e0b484e2dba360f47fa76d6f366d689a (diff)
downloadnextcloud-server-e312776cf7a9c2be1cf537ebe9b969a03cf2caca.tar.gz
nextcloud-server-e312776cf7a9c2be1cf537ebe9b969a03cf2caca.zip
feat(settings/admin/ai): increase min width of provider selects
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
-rw-r--r--apps/settings/src/components/AdminAI.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue
index 0b323b56b5e..dc64f64e65b 100644
--- a/apps/settings/src/components/AdminAI.vue
+++ b/apps/settings/src/components/AdminAI.vue
@@ -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>