Skip to content

Commit 51aef0c

Browse files
AmirMohammad CheraghaliAmirMohammad Cheraghali
authored andcommitted
Refactor: Organize Visualization buttons into a grid layout
1 parent 1334c35 commit 51aef0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Controls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export const Controls: React.FC<ControlsProps> = ({
438438
{/* Visual Style */}
439439
<div className="space-y-2">
440440
<label className={`text-[10px] font-bold uppercase tracking-wider block ${subtleText}`}>Visualization</label>
441-
<div className="space-y-2">
441+
<div className="grid grid-cols-2 gap-2">
442442
<button
443443
onClick={() => setShowSurface(!showSurface)}
444444
className={`flex items-center justify-between px-3 py-2 rounded-lg border transition-all ${showSurface ? 'bg-blue-500/10 border-blue-500 text-blue-500' : `${cardBg} opacity-80 hover:opacity-100`}`}

0 commit comments

Comments
 (0)