From 0b33f5fbc3bcf411d55055feff7c647bf6971c73 Mon Sep 17 00:00:00 2001 From: Ryan Keairns Date: Mon, 15 Oct 2018 14:41:01 -0500 Subject: [PATCH] fix sidebar scrolling in firefox (#24011) --- .../canvas/public/apps/workpad/workpad_app/workpad_app.scss | 1 + x-pack/plugins/canvas/public/components/sidebar/sidebar.scss | 3 +++ 2 files changed, 4 insertions(+) diff --git a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss b/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss index f0e62358b3405..9b289151ee6dd 100644 --- a/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss +++ b/x-pack/plugins/canvas/public/apps/workpad/workpad_app/workpad_app.scss @@ -56,6 +56,7 @@ width: 350px; background: darken($euiColorLightestShade, 2%); display: flex; + position: relative; .euiPanel { margin-bottom: $euiSizeS; diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss b/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss index bc31e945cc887..9f42fc5132038 100644 --- a/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss +++ b/x-pack/plugins/canvas/public/components/sidebar/sidebar.scss @@ -6,6 +6,9 @@ max-height: 100vh; overflow-y: auto; overflow-x: hidden; + position: absolute; + top: 0; + bottom: 0; } .canvasSidebar__pop {