mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
fix(i18n): truncate Session History scope labels in narrow sidebar (#34597)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -135,18 +135,20 @@ export function VaultScopeSwitch({
|
||||
value="workspace"
|
||||
disabled={!workspaceAvailable}
|
||||
className={VAULT_SCOPE_TOGGLE_ITEM_CLASS}
|
||||
title={workspaceLabel}
|
||||
>
|
||||
{workspaceLabel}
|
||||
<span className="min-w-0 truncate">{workspaceLabel}</span>
|
||||
</ToggleGroupItem>
|
||||
<ToggleGroupItem
|
||||
value="project"
|
||||
disabled={!projectAvailable}
|
||||
className={VAULT_SCOPE_TOGGLE_ITEM_CLASS}
|
||||
title={projectLabel}
|
||||
>
|
||||
{projectLabel}
|
||||
<span className="min-w-0 truncate">{projectLabel}</span>
|
||||
</ToggleGroupItem>
|
||||
<ToggleGroupItem value="all" className={VAULT_SCOPE_TOGGLE_ITEM_CLASS}>
|
||||
{allLabel}
|
||||
<ToggleGroupItem value="all" className={VAULT_SCOPE_TOGGLE_ITEM_CLASS} title={allLabel}>
|
||||
<span className="min-w-0 truncate">{allLabel}</span>
|
||||
</ToggleGroupItem>
|
||||
</ToggleGroup>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user