From 308d7cd5e13f0d9a2fa5344cc84d556e6577f6ed Mon Sep 17 00:00:00 2001 From: mawkone Date: Fri, 12 Jun 2026 11:45:09 -0700 Subject: [PATCH] design(preview): remove text labels from device toggles to match reference --- .../components/project/project-icon-rail.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/vibn-frontend/components/project/project-icon-rail.tsx b/vibn-frontend/components/project/project-icon-rail.tsx index 7cde840..7624e38 100644 --- a/vibn-frontend/components/project/project-icon-rail.tsx +++ b/vibn-frontend/components/project/project-icon-rail.tsx @@ -198,11 +198,10 @@ function PreviewDeviceToggles() { style={{ display: "flex", alignItems: "center", - gap: 6, - padding: "4px 10px", + justifyContent: "center", + width: 32, + height: 26, borderRadius: 6, - fontSize: "0.75rem", - fontWeight: 500, border: "none", cursor: "pointer", transition: "all 0.15s", @@ -211,20 +210,19 @@ function PreviewDeviceToggles() { boxShadow: deviceMode === "desktop" ? "0 1px 2px rgba(0,0,0,0.05)" : "none", }} + title="Desktop view" > - Desktop