From 7d7af1298b5b1b23d5adbb3242fe145e8050a04d Mon Sep 17 00:00:00 2001 From: Abhimanyu Saharan Date: Sat, 6 May 2023 19:17:05 +0530 Subject: [PATCH] fixed right side border --- netbox/dcim/svg/racks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/svg/racks.py b/netbox/dcim/svg/racks.py index 167c76db0..c1a78dd21 100644 --- a/netbox/dcim/svg/racks.py +++ b/netbox/dcim/svg/racks.py @@ -244,7 +244,7 @@ class RackElevationSVG: for segment in array_to_ranges(reservation.units): u_height = 1 if len(segment) == 1 else segment[1] + 1 - segment[0] 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 = ( self.margin_width, u_height * self.unit_height