fix(sidebar): keep the chevron slot to a single clipped glyph
A second shape was painting itself over the disclosure triangle on one project row, so the marker read as a mush of two glyphs. Clip the 14px slot and drop any svg that is not its first child.
This commit is contained in:
parent
34a41d70b9
commit
308a790412
File diff suppressed because one or more lines are too long
|
|
@ -274,6 +274,15 @@
|
|||
align-items:center;
|
||||
transition:transform .12s;
|
||||
display:inline-flex;
|
||||
/* The slot owns exactly ONE glyph. Clip it so nothing that lands here from
|
||||
another layer (an overlay, a duplicated svg) can paint a second shape on top
|
||||
of the triangle — that stray shape reads as a broken, mushy icon. */
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
/* Keep only the first svg in the slot; a second one is never part of a row. */
|
||||
.wgChevron > svg:not(:first-child) {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.wgChevronOpen {
|
||||
|
|
|
|||
Loading…
Reference in New Issue