From 59bc79549fc1bc3a6ebd5e313e23d7c03e61b7c2 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Wed, 16 Dec 2020 17:46:42 +0200 Subject: [PATCH] Fix scrolling bug when the legend has big height (#5) --- src/plugins/vis_type_xy/public/_chart.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/vis_type_xy/public/_chart.scss b/src/plugins/vis_type_xy/public/_chart.scss index 1f49892b870f41..ac9d4ed04aec47 100644 --- a/src/plugins/vis_type_xy/public/_chart.scss +++ b/src/plugins/vis_type_xy/public/_chart.scss @@ -1,5 +1,7 @@ .xyChart__container { - width: 100%; - height: 100%; - position: relative; + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; }