Skip to content

Commit

Permalink
fix yihui/hugo-prose#50: shouldn't move sidenotes when screen width i…
Browse files Browse the repository at this point in the history
…s exactly 1290px, because in this case, side content has been collapsed into the main column
  • Loading branch information
yihui committed Apr 4, 2024
1 parent 67c9c8f commit d0fd1d3
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 @@ -80,7 +80,7 @@ body, blockquote, .side, .menu { background: #fafafa; }
padding: 1em 1em 0;
}

@media (min-width: 1280px) {
@media (min-width: 1280.02px) {
.note-ref { cursor: pointer; }
.note-ref:hover + .side {
display: inline-block;
Expand Down

0 comments on commit d0fd1d3

Please sign in to comment.