From 260bbf897e4687d2cd555ea9b458970dfd980f23 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Mon, 20 May 2019 12:16:30 -0400 Subject: [PATCH] Fixes #34606 - Adjust CSS to fix scrolling bug in Waffle Map (#34881) (#35601) --- x-pack/plugins/infra/public/components/nodes_overview/index.tsx | 2 +- x-pack/plugins/infra/public/components/waffle/map.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/infra/public/components/nodes_overview/index.tsx b/x-pack/plugins/infra/public/components/nodes_overview/index.tsx index 0d45148aa4cfb..b6dde553587b2 100644 --- a/x-pack/plugins/infra/public/components/nodes_overview/index.tsx +++ b/x-pack/plugins/infra/public/components/nodes_overview/index.tsx @@ -196,7 +196,7 @@ const ViewSwitcherContainer = styled.div` const MapContainer = styled.div` position: absolute; display: flex; - top: 0; + top: 70px; right: 0; bottom: 0; left: 0; diff --git a/x-pack/plugins/infra/public/components/waffle/map.tsx b/x-pack/plugins/infra/public/components/waffle/map.tsx index 0bd4c5a8e388b..0bb87dee38553 100644 --- a/x-pack/plugins/infra/public/components/waffle/map.tsx +++ b/x-pack/plugins/infra/public/components/waffle/map.tsx @@ -91,7 +91,7 @@ export const Map: React.SFC = ({ const WaffleMapOuterContainer = styled.div` flex: 1 0 0%; display: flex; - justify-content: center; + justify-content: flex-start; flex-direction: column; overflow-x: hidden; overflow-y: auto;