Fixes #4232: Enforce consistent background striping in rack elevations

This commit is contained in:
Jeremy Stretch 2020-02-21 13:49:28 -05:00
parent cf312e9690
commit a14c7980f6
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
## Bug Fixes
* [#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
---

View File

@ -22,8 +22,8 @@ class RackElevationSVG:
@staticmethod
def _add_gradient(drawing, id_, color):
gradient = drawing.linearGradient(
start=('0', '0%'),
end=('0', '5%'),
start=(0, 0),
end=(0, 25),
spreadMethod='repeat',
id_=id_,
gradientTransform='rotate(45, 0, 0)',