mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 05:21:55 -06:00
Fixes #4232: Enforce consistent background striping in rack elevations
This commit is contained in:
parent
cf312e9690
commit
a14c7980f6
@ -3,6 +3,7 @@
|
|||||||
## Bug Fixes
|
## Bug Fixes
|
||||||
|
|
||||||
* [#4224](https://github.com/netbox-community/netbox/issues/4224) - Fix display of rear device image if front image is not defined
|
* [#4224](https://github.com/netbox-community/netbox/issues/4224) - Fix display of rear device image if front image is not defined
|
||||||
|
* [#4232](https://github.com/netbox-community/netbox/issues/4232) - Enforce consistent background striping in rack elevations
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ class RackElevationSVG:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _add_gradient(drawing, id_, color):
|
def _add_gradient(drawing, id_, color):
|
||||||
gradient = drawing.linearGradient(
|
gradient = drawing.linearGradient(
|
||||||
start=('0', '0%'),
|
start=(0, 0),
|
||||||
end=('0', '5%'),
|
end=(0, 25),
|
||||||
spreadMethod='repeat',
|
spreadMethod='repeat',
|
||||||
id_=id_,
|
id_=id_,
|
||||||
gradientTransform='rotate(45, 0, 0)',
|
gradientTransform='rotate(45, 0, 0)',
|
||||||
|
Loading…
Reference in New Issue
Block a user