From 00b3fc806931ec21b1ec87538f7475cb8c5141e7 Mon Sep 17 00:00:00 2001 From: nickofthyme Date: Wed, 28 Oct 2020 08:54:27 -0500 Subject: [PATCH] move styles to legend --- src/plugins/vis_type_vislib/public/index.scss | 4 ---- .../public/vislib/components/legend/_legend.scss | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/vis_type_vislib/public/index.scss b/src/plugins/vis_type_vislib/public/index.scss index f789149a230ec..3c347aebde225 100644 --- a/src/plugins/vis_type_vislib/public/index.scss +++ b/src/plugins/vis_type_vislib/public/index.scss @@ -1,5 +1 @@ @import './vislib/index'; - -.vislib .visLegend__toggle { - margin: $euiSizeS; -} diff --git a/src/plugins/vis_type_vislib/public/vislib/components/legend/_legend.scss b/src/plugins/vis_type_vislib/public/vislib/components/legend/_legend.scss index 317f3dfb6cce7..a06f0cb00787b 100644 --- a/src/plugins/vis_type_vislib/public/vislib/components/legend/_legend.scss +++ b/src/plugins/vis_type_vislib/public/vislib/components/legend/_legend.scss @@ -13,6 +13,7 @@ $visLegendLineHeight: $euiSize; left: 0; display: flex; padding: $euiSizeXS; + margin: $euiSizeS; background-color: $euiColorEmptyShade; transition: opacity $euiAnimSpeedFast $euiAnimSlightResistance, background-color $euiAnimSpeedFast $euiAnimSlightResistance $euiAnimSpeedExtraSlow;