Fossil SCM
Reverted half of commit [4ad86dd5]: it incorrectly moved a CSS style instead of copying it to where it also needed to be. The user-visible effect was that centered Pikchrs varied in size according to their size and complexity, which meant that elements that should've been the same size weren't.
Commit
5ad62aba37c10313feb549184894fbe8bc479dde08fba19338f8f7cbb3810df6
Parent
239fb5b186aff29…
1 file changed
+1
+1
| --- src/default.css | ||
| +++ src/default.css | ||
| @@ -1582,10 +1582,11 @@ | ||
| 1582 | 1582 | and does not require setting display:inline-block on the relevant |
| 1583 | 1583 | child items, but caniuse.com/css-grid suggests that some |
| 1584 | 1584 | still-seemingly-legitimate browsers don't support grid mode. */ |
| 1585 | 1585 | } |
| 1586 | 1586 | div.pikchr-wrapper.center > div.pikchr-svg { |
| 1587 | + width: 100%/*necessary for Chrome!*/; | |
| 1587 | 1588 | } |
| 1588 | 1589 | div.pikchr-wrapper.center:not(.source) > pre.pikchr-src, |
| 1589 | 1590 | div.pikchr-wrapper.center:not(.source) > div.pikchr-svg, |
| 1590 | 1591 | /* ^^^ Centered non-source-view elements */ |
| 1591 | 1592 | div.pikchr-wrapper.center.source.source-inline > pre.pikchr-src, |
| 1592 | 1593 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1582,10 +1582,11 @@ | |
| 1582 | and does not require setting display:inline-block on the relevant |
| 1583 | child items, but caniuse.com/css-grid suggests that some |
| 1584 | still-seemingly-legitimate browsers don't support grid mode. */ |
| 1585 | } |
| 1586 | div.pikchr-wrapper.center > div.pikchr-svg { |
| 1587 | } |
| 1588 | div.pikchr-wrapper.center:not(.source) > pre.pikchr-src, |
| 1589 | div.pikchr-wrapper.center:not(.source) > div.pikchr-svg, |
| 1590 | /* ^^^ Centered non-source-view elements */ |
| 1591 | div.pikchr-wrapper.center.source.source-inline > pre.pikchr-src, |
| 1592 |
| --- src/default.css | |
| +++ src/default.css | |
| @@ -1582,10 +1582,11 @@ | |
| 1582 | and does not require setting display:inline-block on the relevant |
| 1583 | child items, but caniuse.com/css-grid suggests that some |
| 1584 | still-seemingly-legitimate browsers don't support grid mode. */ |
| 1585 | } |
| 1586 | div.pikchr-wrapper.center > div.pikchr-svg { |
| 1587 | width: 100%/*necessary for Chrome!*/; |
| 1588 | } |
| 1589 | div.pikchr-wrapper.center:not(.source) > pre.pikchr-src, |
| 1590 | div.pikchr-wrapper.center:not(.source) > div.pikchr-svg, |
| 1591 | /* ^^^ Centered non-source-view elements */ |
| 1592 | div.pikchr-wrapper.center.source.source-inline > pre.pikchr-src, |
| 1593 |