feat(desktop): single-profile rail shows default icon + create
Left-align the default's home icon next to the create "+" in the single-profile state (toggle/squares/Manage still appear only once a second profile exists).
This commit is contained in:
@@ -184,6 +184,11 @@ export function ProfileRail() {
|
||||
<ProfilePill active={isAll} glyph="layers" label="All profiles" onSelect={() => setShowAllProfiles(true)} />
|
||||
))}
|
||||
|
||||
{/* Single-profile: the active default's home icon next to the create +. */}
|
||||
{!multiProfile && defaultProfile && (
|
||||
<ProfilePill active glyph="home" label={defaultProfile.name} onSelect={() => selectProfile(defaultProfile.name)} />
|
||||
)}
|
||||
|
||||
<div
|
||||
className="flex min-w-0 flex-1 items-center gap-1 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
|
||||
ref={scrollRef}
|
||||
|
||||
Reference in New Issue
Block a user