We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ccbb73 commit 0545bddCopy full SHA for 0545bdd
book/quarto/assets/styles/style.scss
@@ -416,8 +416,16 @@ a {
416
border-color: rgba($crimson, 0.4) !important;
417
border-left: 4px solid $crimson !important;
418
color: darken($crimson, 25%) !important;
419
- width: 100% !important;
420
- max-width: 100% !important;
+ // Break out of parent container to span full viewport width
+ // Transform-based centering ignores parent margins
421
+ position: relative !important;
422
+ left: 50% !important;
423
+ transform: translateX(-50%) !important;
424
+ width: 100vw !important;
425
+ max-width: 100vw !important;
426
+ margin-left: 0 !important;
427
+ margin-right: 0 !important;
428
+ box-sizing: border-box !important;
429
430
// Dismiss button (X)
431
.btn-close {
0 commit comments