Private
Public Access
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0466ccc334 |
+28
-3
@@ -290,23 +290,48 @@ form p {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
/* `summary`'s native disclosure triangle is a ::marker, positioned for
|
||||
list-item/inline content — once the tag-name + unread-count row below
|
||||
needed to be a flex box (block-level), the marker got pushed onto its
|
||||
own line above instead of sitting beside it. Replacing it with a
|
||||
plain ::before triangle lets `summary` itself be a flex row with that
|
||||
triangle as a normal flex item, so it stays inline no matter what the
|
||||
rest of the row contains. */
|
||||
.sidebar-section summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.4rem 0.75rem;
|
||||
cursor: pointer;
|
||||
color: var(--text-dim);
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.sidebar-section summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar-section summary::before {
|
||||
content: "▶";
|
||||
flex: 0 0 auto;
|
||||
font-size: 0.6rem;
|
||||
transition: transform 0.1s ease;
|
||||
}
|
||||
|
||||
.sidebar-section[open] > summary::before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* An inner wrapper, not `summary` itself — `summary`'s native disclosure
|
||||
triangle only renders with its default `display: list-item`, so the
|
||||
flex layout for the tag name + unread count lives one level in. */
|
||||
.sidebar-tag-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.4rem;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sidebar-tag-link {
|
||||
|
||||
Reference in new issue
Block a user