mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-21 20:18:38 -06:00
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:
+1
-1
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;
|
||||
|
||||
Reference in New Issue
Block a user