Skip to content

Commit 39c0266

Browse files
committed
fix(web/office): suppress ol counters on Recent picks list
The prose rule at prototype.css:835 paints ::before counters ("1.", "2.", "3.") on every `ol > li` inside .proto-section. The office Recent picks list renders as bordered cards — .office-pick zeroes the inline padding for that card layout, so the counter at `left: 0` landed directly on top of the title's first character. User-reported via screenshot: the digits were overlapping "B" of Beth, "S" of Scott, "H" of How. Suppressed the counter for this specific list shape with `.office-pick-list > li::before { content: none }`. Behavior in other prose contexts (post bodies, comments, editorial docs) is unchanged.
1 parent 47073b8 commit 39c0266

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

web/src/styles/prototype.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4149,6 +4149,14 @@ a.proto-inbox-chip:hover {
41494149
padding: 0;
41504150
margin: 0;
41514151
}
4152+
/* The .proto-section prose rules paint ::before counters on every
4153+
* `ol > li` (1., 2., 3.). Recent picks render as bordered cards, not
4154+
* a numbered list, and .office-pick zeroes the inline padding — so
4155+
* the counter at `left: 0` would overlap the title's first
4156+
* character. Suppress the counter for this specific list shape. */
4157+
.office-pick-list > li::before {
4158+
content: none;
4159+
}
41524160
.office-pick {
41534161
padding: var(--sp-20) 0;
41544162
border-bottom: var(--bw-hair) solid var(--rule-hair);

0 commit comments

Comments
 (0)