From 3e6ef3c7abbcebdb70afbf880c7e32cdb7a5ec20 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 14 Feb 2026 08:45:33 +0000 Subject: [PATCH] Refactor CreateLookDialog to use compact sidebar and 2-column grid This change refines the `CreateLookDialog` layout to be more compact and user-friendly. Key changes: - Replaced the sidebar with a text-only vertical navigation bar (`w-32`) to maximize content space. - Adjusted the equipment, pose, and expression grids to a fixed 2-column layout (`grid-cols-2`) for better item visibility and reduced density. - Removed icons from sidebar buttons to streamline the interface. - Updated `ScrollArea` components to correctly fill available height (`h-full`) to enable proper scrolling. - Maintained the tabbed structure (Equipment, Pose, Expression, Instructions) and footer layout from the previous iteration. --- src/ui/components/CreateLookDialog.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ui/components/CreateLookDialog.tsx b/src/ui/components/CreateLookDialog.tsx index 294668c..58e238b 100644 --- a/src/ui/components/CreateLookDialog.tsx +++ b/src/ui/components/CreateLookDialog.tsx @@ -268,7 +268,7 @@ export const CreateLookDialog: React.FC = ({ {/* Equipment Grid */} - + {loading ? (
@@ -367,8 +367,8 @@ export const CreateLookDialog: React.FC = ({ {/* Pose Tab */} {activeTab === 'pose' && ( - -
+ +
= ({ {/* Expression Tab */} {activeTab === 'expression' && ( - -
+ +