SVG UI elements background issues in dark mode #15853
Labels
beta
Concerns a bug/feature in a beta release
severity: low
Does not significantly disrupt application functionality, or a workaround is available
topic: UI/UX
User interface or user experience related work
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.0-beta2
Python Version
3.11
Steps to Reproduce
1- Create a 42 RU rack
2- Create two devices-types with interfaces, then two devices of this type and assign them to this rack.
3- Connect the interfaces together using a cable
4- Navigate the Rack elevation or perform a cable trace
(step 4 can also be simply executed on https://beta-demo.netbox.dev/ with existing demo data)
Expected Behavior
SVG objects should have their color-scheme set to auto, which should display a transparent background, and white text for labels in dark mode.
Observed Behavior
SVG objects are displaying a white background (and black text) with bad looking padding which is not aligned with the rest of the UI. This is observed on a chrome based browser. Safari seems to have a transparent background which lack contrast with the text.
The text was updated successfully, but these errors were encountered: