diff --git a/inst/BS5/assets/pkgdown.scss b/inst/BS5/assets/pkgdown.scss index 86d40cc6b..fda44c10d 100644 --- a/inst/BS5/assets/pkgdown.scss +++ b/inst/BS5/assets/pkgdown.scss @@ -3,11 +3,16 @@ .row > main { // Ensure contents never become unreadably wide max-width: 50rem; - - // And that we can break and hypenate very long words - overflow-wrap: break-word; - hyphens: auto; } + +@media (max-width: 800px) { + .row > main { + // break and hypenate very long words on small screens + overflow-wrap: break-word; + hyphens: auto; + } +} + // Put extra space between content and navbar @include media-breakpoint-only(xl) { .container .row { justify-content: space-evenly; }