mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
adjust 'Add' button size and position it in the correct location
This commit is contained in:
1 parent
4ad3c7367d
commit
b8fd6421fa
1 file changed
+2
-3
@@ -306,7 +306,7 @@ export function AISettings() {
|
||||
<Button
|
||||
onClick={() => handleAddPresetProvider(preset)}
|
||||
disabled={!!preset.apiKeysURL && !presetApiKeys[preset.id]?.trim()}
|
||||
size="sm"
|
||||
className="h-10 px-4 ml-auto"
|
||||
>
|
||||
{t('add')}
|
||||
</Button>
|
||||
@@ -384,8 +384,7 @@ export function AISettings() {
|
||||
!customBaseURL.trim() ||
|
||||
customProviderName.trim() in settings.providers
|
||||
}
|
||||
size="sm"
|
||||
className="gap-2"
|
||||
className="gap-2 ml-auto"
|
||||
>
|
||||
<Check className="h-4 w-4" />
|
||||
{t('addCustomProviderButton')}
|
||||
|
||||
Reference in new issue
Block a user