From 6caf2f92198736b759fe46085c011ed1c6faece4 Mon Sep 17 00:00:00 2001 From: Chris Cowan Date: Thu, 25 Apr 2019 09:39:23 -0700 Subject: [PATCH] Fixes #34606 - Adjust CSS to fix scrolling bug in Waffle Map (#34881) --- 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 902141a4634fc..29fa5b19caa6c 100644 --- a/x-pack/plugins/infra/public/components/nodes_overview/index.tsx +++ b/x-pack/plugins/infra/public/components/nodes_overview/index.tsx @@ -222,7 +222,7 @@ const ViewSwitcherContainer = euiStyled.div` const MapContainer = euiStyled.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 75fe93dfd67da..9c1a8758d9a36 100644 --- a/x-pack/plugins/infra/public/components/waffle/map.tsx +++ b/x-pack/plugins/infra/public/components/waffle/map.tsx @@ -99,7 +99,7 @@ export const Map: React.SFC = ({ const WaffleMapOuterContainer = euiStyled.div` flex: 1 0 0%; display: flex; - justify-content: center; + justify-content: flex-start; flex-direction: column; overflow-x: hidden; overflow-y: auto;