From 41a67cd2c528f1876440aad39486339e268ac1d8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 19 Jul 2023 17:12:30 +0000 Subject: [PATCH] Removed KUI usage in maps_legacy plugin (#3998) * Removed KUI usage from map_legacy plugin Signed-off-by: Malika Shamgunova * Removed KUI icon from maps_legacy plugin Signed-off-by: Malika Shamgunova * import Signed-off-by: Malika Shamgunova * Added to CHNAGELOG.md Signed-off-by: Malika Shamgunova * Updated CHANGELOG.md Signed-off-by: Malika Shamgunova * Update in CHANGELOG.md Signed-off-by: Malika Shamgunova * Upgrade the backport workflow (#4343) * Copy over the labels from the original PR * Label the backport PR with `autocut` * Label a PR that fails to backport Signed-off-by: Miki * Hide any output from `use_node` checking for Node compatibility (#4237) Signed-off-by: Miki Signed-off-by: Josh Romero Co-authored-by: Josh Romero * Resolved merge conflicts Signed-off-by: Malika Shamgunova * Apply suggestions from code review Resolve changelog conflicts Signed-off-by: Josh Romero --------- Signed-off-by: Malika Shamgunova Signed-off-by: Anan Zhuang Signed-off-by: Miki Signed-off-by: Josh Romero Co-authored-by: Qingyang(Abby) Hu Co-authored-by: Anan Zhuang Co-authored-by: Miki Co-authored-by: Josh Romero (cherry picked from commit 22a8943225c2b449f9d3ca818c9f74512433cee9) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- src/plugins/maps_legacy/public/map/_legend.scss | 9 +++++++++ .../maps_legacy/public/map/opensearch_dashboards_map.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/plugins/maps_legacy/public/map/_legend.scss b/src/plugins/maps_legacy/public/map/_legend.scss index 43ecb5ac8127..dfb62ada61ff 100644 --- a/src/plugins/maps_legacy/public/map/_legend.scss +++ b/src/plugins/maps_legacy/public/map/_legend.scss @@ -33,3 +33,12 @@ left: $euiSizeXXL; white-space: nowrap; } + +.mapButton { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome, sans-serif; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js index 6f4af0e47c17..a5432f3151e6 100644 --- a/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js +++ b/src/plugins/maps_legacy/public/map/opensearch_dashboards_map.js @@ -62,7 +62,7 @@ function makeFitControl(fitContainer, opensearchDashboardsMap) { ); $(this._fitContainer) .html( - `` + `` ) .on('click', (e) => { e.preventDefault();