Skip to content

Commit 2e80990

Browse files
Fixes #20043: Prevent rack elevation SVG styling from overflowing to parent page (#20139)
1 parent 8b397f3 commit 2e80990

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

netbox/project-static/dist/rack_elevation.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netbox/project-static/styles/svg/rack_elevation.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ svg {
2828
}
2929
}
3030

31-
* {
32-
font-family: $font-family-sans-serif;
33-
font-size: $font-size-sm;
34-
}
3531
rect {
3632
box-sizing: border-box;
3733
}
@@ -42,6 +38,8 @@ text {
4238

4339
svg {
4440
background-color: var(--nbx-rack-bg);
41+
font-family: $font-family-sans-serif;
42+
font-size: $font-size-sm;
4543

4644
// Rack unit numbers along left side of rack elevation.
4745
.unit {

0 commit comments

Comments
 (0)