Skip to content

Commit 4fbd2a9

Browse files
committed
fix(styles): remove Hypothesis header margin for full-width announcement
Override the margin-right: 16px that Hypothesis adds to #quarto-header, which was preventing the announcement bar from spanning full viewport.
1 parent 0545bdd commit 4fbd2a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

book/quarto/assets/styles/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,11 @@ a {
407407
}
408408
}
409409

410+
// Fix Hypothesis margin that prevents full-width elements
411+
body.hypothesis-enabled #quarto-header {
412+
margin-right: 0 !important;
413+
}
414+
410415
// Enhanced announcement styling with solid background (no transparency)
411416
.alert-primary,
412417
.announcement {

0 commit comments

Comments
 (0)