Override Tabler's problematic margin-left: calc(100vw - 100%) rule that causes a gap between the sidebar and main content when vertical scrollbar is present on Windows/Linux browsers. Uses scrollbar-gutter: stable to match the upstream fix in Tabler PR #2548.
This commit is contained in:
parent
5bf516c63d
commit
6c383f293c
File diff suppressed because one or more lines are too long
|
|
@ -5,6 +5,16 @@
|
|||
font-variant-ligatures: none;
|
||||
}
|
||||
|
||||
// TODO: Remove when Tabler releases fix for https://github.com/tabler/tabler/issues/2271
|
||||
// and NetBox upgrades to that version. Fix merged to Tabler dev branch in PR #2548.
|
||||
:root,
|
||||
:host {
|
||||
@include media-breakpoint-up(lg) {
|
||||
margin-left: 0;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
}
|
||||
|
||||
// Restore default foreground & background colors for <pre> blocks
|
||||
pre {
|
||||
background-color: transparent;
|
||||
|
|
|
|||
Loading…
Reference in New Issue