mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-09-24 15:49:09 +00:00
fix(ui): stop CJK labels clipping under tight line-height
Chinese glyphs (PingFang etc.) paint outside a 1.0 em box, so leading-none plus truncate was slicing vault tree, tabs, and dialog titles. Use safer line-heights and slightly taller note title inputs.
This commit is contained in:
@@ -102,7 +102,7 @@ export const ScriptEditorModal: React.FC<ScriptEditorModalProps> = ({
|
||||
<div className="h-full flex flex-col min-h-0">
|
||||
<div className="h-9 px-3 py-1.5 border-b border-border/60 flex-shrink-0">
|
||||
<div className="flex h-full items-center justify-between gap-3">
|
||||
<span className="text-sm font-semibold leading-none truncate">{title}</span>
|
||||
<span className="truncate text-sm font-semibold leading-5">{title}</span>
|
||||
<div className="flex h-6 items-center gap-1.5">
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in New Issue
Block a user