Closed fulldecent closed 4 years ago
Is there a section
wrapping that div
? From the demo/usage document:
Organize your document with an
article
element inside yourbody
tag. Inside that, usesection
tags around each logical grouping of text and headings.
It would be helpful to share a minimal example as text, so the issue can be easily reproduced.
Minimal example:
This appears to be a function of third-party code highlighting the pre
rather than the code
.
@fulldecent Any further findings on this?
Yes, the highlighter was styling the div.
I did this workaround for Rogue.
.highlight {
background: none
}
But that is out of scope for this project so I'll call this an incompatibility of Rogue with tufte.css's wide block approach.
I am using the following code for my code snippets:
The result is that an extra-wide box appears, which is suboptimal.