fix(ui): let SettingsFieldRow labels truncate on long content (#3196)
* test: reproduce long passkey label overlay (issue #3181) * fix(ui): let SettingsFieldRow labels truncate on long content --------- Co-authored-by: Repro Agent <repro-agent@example.com>
This commit is contained in:
committed by
GitHub
co-authored by
Repro Agent
parent
339c88783c
commit
8fee25c97b
@@ -310,8 +310,8 @@ export const SettingsFieldRow: React.FC<SettingsFieldRowProps> = ({
|
||||
)}
|
||||
>
|
||||
<div className="min-w-0 @xl:w-56 @xl:shrink-0">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<div className={SETTINGS_FIELD_LABEL_CLASS}>{label}</div>
|
||||
<div className="flex min-w-0 items-center gap-1.5">
|
||||
<div className={cn('min-w-0 truncate', SETTINGS_FIELD_LABEL_CLASS)}>{label}</div>
|
||||
{info != null ? <SettingsInfoHint>{info}</SettingsInfoHint> : null}
|
||||
</div>
|
||||
{description != null ? (
|
||||
|
||||
Reference in New Issue
Block a user