Fix sidenotes bleeding into text inline
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
c00867d46b
commit
acaa00754b
|
@ -48,7 +48,10 @@
|
||||||
|
|
||||||
@mixin hidden-sidenote {
|
@mixin hidden-sidenote {
|
||||||
position: static;
|
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;
|
margin-bottom: 1rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user