sidebar: apis: nicer layout for toggles when expanded

This commit is contained in:
end-4
2025-04-03 16:22:01 +02:00
parent 6750679d88
commit 98fd391b88
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export const BooruSettings = () => MarginRevealer({
children: [
Box({
vertical: true,
hpack: 'fill',
hpack: 'center',
className: 'sidebar-chat-settings-toggles',
children: [
ConfigToggle({
+1 -1
View File
@@ -178,7 +178,7 @@ const GPTSettings = () => MarginRevealer({
ConfigGap({ vertical: true, size: 10 }), // Note: size can only be 5, 10, or 15
Box({
vertical: true,
hpack: 'fill',
hpack: 'center',
className: 'sidebar-chat-settings-toggles',
children: [
ConfigToggle({
+1 -1
View File
@@ -91,7 +91,7 @@ export const GeminiSettings = () => MarginRevealer({
ConfigGap({ vertical: true, size: 10 }), // Note: size can only be 5, 10, or 15
Box({
vertical: true,
hpack: 'fill',
hpack: 'center',
className: 'sidebar-chat-settings-toggles',
children: [
ConfigToggle({
+1 -1
View File
@@ -764,7 +764,7 @@ $skeleton-accent: mix($secondary, $onSecondary, 50%);
}
.sidebar-chat-settings-toggles {
margin: 0rem 5.455rem;
min-width: 16.705rem;
}
.sidebar-chat-welcome-icon {