mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
fixed right side border
This commit is contained in:
parent
b0ec942f96
commit
7d7af1298b
@ -244,7 +244,7 @@ class RackElevationSVG:
|
|||||||
for segment in array_to_ranges(reservation.units):
|
for segment in array_to_ranges(reservation.units):
|
||||||
u_height = 1 if len(segment) == 1 else segment[1] + 1 - segment[0]
|
u_height = 1 if len(segment) == 1 else segment[1] + 1 - segment[0]
|
||||||
coords = self._get_device_coords(segment[0], u_height)
|
coords = self._get_device_coords(segment[0], u_height)
|
||||||
coords = (coords[0] + self.unit_width + RACK_ELEVATION_BORDER_WIDTH * 2, coords[1])
|
coords = (coords[0] + self.unit_width + RACK_ELEVATION_BORDER_WIDTH - 0.1, coords[1])
|
||||||
size = (
|
size = (
|
||||||
self.margin_width,
|
self.margin_width,
|
||||||
u_height * self.unit_height
|
u_height * self.unit_height
|
||||||
|
Loading…
Reference in New Issue
Block a user