summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-11 14:49:17 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:00 +0200
commitcbf8eb9cbf2f4082cb1a83955d435ebcb73be3ab (patch)
treedb58a2d9c363d3256270eb705b5ae13d51836c71 /src/components
parentaa448cb5c3e2e372dad1c79ffc32ff32144b4140 (diff)
Center datacenter on site load
Diffstat (limited to 'src/components')
-rw-r--r--src/components/map/MapConstants.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/map/MapConstants.js b/src/components/map/MapConstants.js
index f24e450f..524dd1ae 100644
--- a/src/components/map/MapConstants.js
+++ b/src/components/map/MapConstants.js
@@ -11,6 +11,9 @@ export const WALL_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 8;
export const OBJECT_BORDER_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 12;
export const TILE_PLUS_WIDTH_IN_PIXELS = TILE_SIZE_IN_PIXELS / 10;
+export const SIDEBAR_WIDTH = 350;
+export const VIEWPORT_PADDING = 50;
+
export const RACK_FILL_ICON_WIDTH = OBJECT_SIZE_IN_PIXELS / 3;
export const RACK_FILL_ICON_OPACITY = 0.8;