Skip to content

Commit

Permalink
cancel float for side content that is not footnote or citation
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed May 2, 2024
1 parent da11dc2 commit c48d674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css/article.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ body, blockquote, .side, .menu { background: #fafafa; }
margin: 1em auto;
background: none;
}
.note-ref + .side { margin-left: 100vw; }
:not(.note-ref) + .side { float: none; }
.side > :last-child { margin-bottom: 0; }
.embed-left, .embed-right {
float: inherit;
Expand Down

0 comments on commit c48d674

Please sign in to comment.