Skip to content

Commit a361ab9

Browse files
committed
fix: figure and table caption counter
Previously, figure and table captions were always numbered as 1 when nested inside certain tags, such as `<center>`. This commit ensures correct sequential numbering.
1 parent 4c0c085 commit a361ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ body {
191191
margin: 0 auto;
192192
padding: 2rem 1.25rem;
193193

194-
counter-reset: theorem definition sidenote-counter;
194+
counter-reset: theorem definition sidenote-counter figcaption caption;
195195

196196
color: var(--body-color);
197197
background-color: var(--body-bg-color);

0 commit comments

Comments
 (0)