mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Fix tag positioning to live within katex-html parent (#1721)
* Fix tag positioning to live within katex-html parent `.tag` has `position: absolute`, but this positions it relative to the nearest parent with a non-static `position` (see https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block). This PR makes `.katex-display > .katex > .katex-html` that parent. * Update screenshots
This commit is contained in:
@@ -571,6 +571,7 @@
|
||||
|
||||
> .katex-html {
|
||||
display: block;
|
||||
position: relative;
|
||||
|
||||
> .tag {
|
||||
position: absolute;
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Reference in New Issue
Block a user