Skip to content

Commit 2a79f7c

Browse files
committed
fixed styling
1 parent c998cab commit 2a79f7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webview-ui/src/components/settings/AutoApproveToggle.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,10 @@ export const AutoApproveToggle = ({ onToggle, ...props }: AutoApproveToggleProps
103103
return (
104104
<div
105105
className={cn(
106-
"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-2 max-w-[400px] mx-auto my-2 ",
106+
"flex flex-row flex-wrap justify-center gap-2 max-w-[600px] mx-auto my-2 ",
107107
"[@media(min-width:600px)]:gap-4",
108-
"[@media(min-width:800px)]:max-w-[800px]",
108+
"[@media(min-width:800px)]:max-w-[900px]",
109+
"[@media(min-width:1200px)]:max-w-[1800px]",
109110
)}>
110111
{Object.values(autoApproveSettingsConfig).map(({ key, descriptionKey, labelKey, icon, testId }) => (
111112
<StandardTooltip key={key} content={t(descriptionKey || "")}>

0 commit comments

Comments
 (0)