You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If <div class="details"> is missing when using :toc: left or :toc: right, an extra border is drawn below the main heading if the viewport is narrow (when the TOC is shown below the heading).
A minimal test case (use a narrow browser window):
:toc: left
= Foo
== Bar
It seems simple to fix based on toc vs. toc2 class:
I tried to test that it doesn't break any other combinations and didn't find any issues but of course it's possbile that I missed a corner case still.
Unrelated but it's so tiny thing that I mention it here anyway: The following could be added for consistency with sup.footnote a:active (and #toc a:active).
The correct fix is to only draw the bottom border when the sidebar toc appears, which means the rule should be enclosed in the same media query. That way, the extra border won't be there when the toc is collapsed into the main content.
These apply to both v2.0.x and main branches.
If
<div class="details">
is missing when using:toc: left
or:toc: right
, an extra border is drawn below the main heading if the viewport is narrow (when the TOC is shown below the heading).A minimal test case (use a narrow browser window):
It seems simple to fix based on
toc
vs.toc2
class:I tried to test that it doesn't break any other combinations and didn't find any issues but of course it's possbile that I missed a corner case still.
Unrelated but it's so tiny thing that I mention it here anyway: The following could be added for consistency with
sup.footnote a:active
(and#toc a:active
).Thanks!
The text was updated successfully, but these errors were encountered: