1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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

@@ -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)',