fix(sidebar): uniform 16px nesting step and one type scale for group/project/session
The session row started at 40px (+20 for the status slot = 60) while its project label sat at 58, so depth 2 and depth 3 looked flush. Sessions now start at 54 (title 74), giving 42/58/74 for the three levels. Project labels drop the mono face and weight 600 so all rows share one 12px scale, with depth carried by the indent and a 600/500/400 weight ramp.
This commit is contained in:
parent
133b54d69d
commit
7c6d8c2a0d
File diff suppressed because one or more lines are too long
|
|
@ -276,9 +276,13 @@
|
||||||
white-space:nowrap;
|
white-space:nowrap;
|
||||||
min-width:0;
|
min-width:0;
|
||||||
color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit));
|
color:var(--dsw-alias-label-primary,var(--dsw-fg-1,inherit));
|
||||||
|
/* Same face and size as the group and session rows: the three levels read as
|
||||||
|
one list whose depth comes from the 16px indent and the weight ramp
|
||||||
|
(600 group / 500 project / 400 session), not from a size jump. The mono
|
||||||
|
face this used to use made project rows look larger and differently spaced
|
||||||
|
than the rows around them. */
|
||||||
font-size:12px;
|
font-size:12px;
|
||||||
font-weight:600;
|
font-weight:500;
|
||||||
font-family:var(--dsw-font-mono,ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
||||||
flex:1;
|
flex:1;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -411,7 +415,11 @@
|
||||||
align-items:center;
|
align-items:center;
|
||||||
gap:6px;
|
gap:6px;
|
||||||
height:28px;
|
height:28px;
|
||||||
padding:0 4px 0 40px;
|
/* Nesting step: group label 42 → project label 58 → session title 74, i.e. a
|
||||||
|
uniform 16px per level. The session used to start at 40 (+20 for the status
|
||||||
|
slot = 60), which sat only 2px right of its project label and read as the
|
||||||
|
same level. */
|
||||||
|
padding:0 4px 0 54px;
|
||||||
display:flex;
|
display:flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue