adjust 'Add' button size and position it in the correct location

This commit is contained in:
P. Reis committed 2025-09-19 17:44:05 -03:00
1 parent 4ad3c7367d
commit b8fd6421fa
1 file changed
+2 -3
+2 -3
View File
@@ -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')}