From c7a264a1333680db5744cba7ea5e0f70cdd3c634 Mon Sep 17 00:00:00 2001 From: Marta Bondyra Date: Thu, 18 Jun 2020 14:02:10 +0200 Subject: [PATCH 1/3] [Lens] fix moving delete button from long columns name in dimension panel --- .../editor_frame/config_panel/_dimension_popover.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss index 254807d06d3868..f99153f1650e5e 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss @@ -1,6 +1,7 @@ .lnsDimensionPopover { line-height: 0; flex-grow: 1; + max-width: calc(100% - 32px); } .lnsDimensionPopover__trigger { From f5efd292d3eae6e1aa427b825c10c8da2dc33098 Mon Sep 17 00:00:00 2001 From: Marta Bondyra Date: Thu, 25 Jun 2020 09:01:15 +0200 Subject: [PATCH 2/3] fix: word break & correct max-width --- .../editor_frame/config_panel/_dimension_popover.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss index f99153f1650e5e..691cda9ff0d790 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/config_panel/_dimension_popover.scss @@ -1,10 +1,11 @@ .lnsDimensionPopover { line-height: 0; flex-grow: 1; - max-width: calc(100% - 32px); + max-width: calc(100% - #{$euiSizeL}); } .lnsDimensionPopover__trigger { max-width: 100%; display: block; + word-break: break-word; } From fc4aaab459c7534d63f05233e601fafc0c10a9fe Mon Sep 17 00:00:00 2001 From: Marta Bondyra Date: Thu, 25 Jun 2020 18:46:50 +0200 Subject: [PATCH 3/3] same issue on field items --- .../plugins/lens/public/indexpattern_datasource/_field_item.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/_field_item.scss b/x-pack/plugins/lens/public/indexpattern_datasource/_field_item.scss index 41919b900c71f8..6e51c45ad02c11 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/_field_item.scss +++ b/x-pack/plugins/lens/public/indexpattern_datasource/_field_item.scss @@ -29,6 +29,7 @@ .lnsFieldItem__name { margin-left: $euiSizeS; flex-grow: 1; + word-break: break-word; } .lnsFieldListPanel__fieldIcon,