Commit eb7a089
committed
fix: address PR review feedback on header CSS
- #header-status-host: flex: 0 0 0% -> flex: 0 1 auto so the teleported
HeaderStatus (chapter title + % complete) is visible on all viewports,
not just >=992px. Auto basis sizes to content; shrink=1 tolerates tight
layouts; grow=0 still prevents gap when element has no content.
- .banner ul.nav: overflow: hidden -> overflow: clip. Clips paint without
creating a scroll container, preserving focus rings on child elements
(overflow:hidden clips child outlines; overflow:clip does not).
- .sidebar-tooltip-text: add margin-left: 0 to reset the -60px inherited
from .has-tooltip .tooltip-text. Without this, left: calc(100% + 4px)
was offset 60px left, placing the tooltip over the trigger element.1 parent 9f87ee2 commit eb7a089
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
0 commit comments