Commit a6c9d3e
committed
Fix caption label isolation: prevent flex layout from forcing 'Figure X.' onto its own line
The .poster-section > :last-child CSS rule applied display:flex to any
element that happened to be the last child of a section, including
figure/table captions. This turned <strong> tags inside captions into
block-level flex items, isolating 'Figure X.' on its own line.
Fix: add display:block override for .figure-caption/.table-caption in
poster sections, and use in auto-numbered caption prefixes to
prevent mid-label line breaks.1 parent 9285bf3 commit a6c9d3e
3 files changed
Lines changed: 10 additions & 2 deletions
File tree
- docs/screenshots
- src/cdl_slides
- assets/themes
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
557 | 565 | | |
558 | 566 | | |
559 | 567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments