Fix sidenotes bleeding into text inline

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2024-07-16 14:30:26 -07:00
parent c00867d46b
commit acaa00754b

View File

@ -48,7 +48,10 @@
@mixin hidden-sidenote {
position: static;
margin-top: 1rem;
// Author can override margin inline to shift sidenote, but when displayed
// on mobile (and thus, between text), shifting it would overlap it
// with text, so override the shift.
margin-top: 1rem !important;
margin-bottom: 1rem;
width: 100%;