Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 97cf196

Browse files
authored
fix: Fix stacked chevrons in project select dropdowns (#1981)
## Problem all: "unset" on dropdown buttons nukes display: flex, causing the chevron icon to stack below the label text instead of sitting inline. <img width="1118" height="978" alt="image (60)" src="https://github.com/user-attachments/assets/1768c69d-cf73-4d40-a4a5-081bcbbaeebd" /> ## Changes 1. Remove all: "unset" inline style from both org and project dropdown buttons 2. Replace with appearance-none Tailwind class for button reset 3. Move boxShadow and fontFamily from inline styles to Tailwind utilities <!-- What did you change and why? --> <!-- If there are frontend changes, include screenshots. --> ## How did you test this? Manually <!-- For features only --> <!-- If publishing, you must provide changelog details in the #changelog Slack channel. You will receive a follow-up PR comment or notification. --> <!-- If not, write "no" or "do not publish to changelog" to explicitly opt-out of posting to #changelog. Removing this entire section will not prevent posting. -->
1 parent b4404cc commit 97cf196

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

‎apps/code/src/renderer/features/onboarding/components/ProjectSelectStep.tsx‎

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,7 @@ export function ProjectSelectStep({ onNext, onBack }: ProjectSelectStepProps) {
167167
<Popover.Trigger>
168168
<button
169169
type="button"
170-
className="box-border flex w-full cursor-pointer items-center justify-between rounded-[10px] border border-(--gray-a3) bg-(--color-panel-solid) px-[14px] py-[10px] text-sm"
171-
style={{
172-
all: "unset",
173-
boxShadow:
174-
"0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02)",
175-
fontFamily: "inherit",
176-
}}
170+
className="box-border flex w-full cursor-pointer appearance-none items-center justify-between rounded-[10px] border border-(--gray-a3) bg-(--color-panel-solid) px-[14px] py-[10px] font-[inherit] text-sm shadow-[0_1px_3px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.02)]"
177171
>
178172
<Text className="font-medium text-(--gray-12) text-sm">
179173
{currentOrg?.name ?? "Select organization..."}
@@ -262,13 +256,7 @@ export function ProjectSelectStep({ onNext, onBack }: ProjectSelectStepProps) {
262256
<Popover.Trigger>
263257
<button
264258
type="button"
265-
className="box-border flex w-full cursor-pointer items-center justify-between rounded-[10px] border border-(--gray-a3) bg-(--color-panel-solid) px-[14px] py-[10px] text-sm"
266-
style={{
267-
all: "unset",
268-
boxShadow:
269-
"0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02)",
270-
fontFamily: "inherit",
271-
}}
259+
className="box-border flex w-full cursor-pointer appearance-none items-center justify-between rounded-[10px] border border-(--gray-a3) bg-(--color-panel-solid) px-[14px] py-[10px] font-[inherit] text-sm shadow-[0_1px_3px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.02)]"
272260
>
273261
<Flex direction="column" gap="1">
274262
<Text className="font-medium text-(--gray-12) text-sm">

0 commit comments

Comments
 (0)