mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-22 03:28:45 -06:00
Fixes #7001: Focus the main content container when the page loads
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user