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

Clean up rack headers and border

This commit is contained in:
Jeremy Stretch
2020-02-20 14:10:48 -05:00
parent 51f7b7a5bf
commit 6c272adb0e
3 changed files with 3 additions and 19 deletions

View File

@@ -187,6 +187,6 @@ class RackElevationSVG:
unit_cursor += height
# Wrap the drawing with a border
drawing.add(drawing.rect((legend_width, 0), (unit_width, self.rack.u_height * unit_height), class_='rack'))
drawing.add(drawing.rect((legend_width, 1), (unit_width - 1, self.rack.u_height * unit_height - 2), class_='rack'))
return drawing