mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-25 10:18:56 +02: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:
2
netbox/project-static/dist/netbox.css
vendored
2
netbox/project-static/dist/netbox.css
vendored
File diff suppressed because one or more lines are too long
@@ -5,6 +5,16 @@
|
|||||||
font-variant-ligatures: none;
|
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
|
// Restore default foreground & background colors for <pre> blocks
|
||||||
pre {
|
pre {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|||||||
Reference in New Issue
Block a user