Fixes #7001: Focus the main content container when the page loads

This commit is contained in:
Matt
2021-08-19 14:13:54 -07:00
parent a71604e79f
commit 9e1d2da449
8 changed files with 35 additions and 19 deletions

View File

@@ -529,14 +529,20 @@ div.content-container {
overflow-x: hidden;
overflow-y: auto;
@include media-breakpoint-down(lg) {
width: 100%;
// Don't show an outline when the content container is focused.
&:focus,
&:focus-visible {
outline: 0;
}
div.content {
flex: 1;
}
@include media-breakpoint-down(lg) {
width: 100%;
}
// Make the content full-width when printing.
@media print {
width: 100% !important;