From e5e03cf2e7f12eeb2edd435c8d5d982df6ae67c9 Mon Sep 17 00:00:00 2001 From: Andrea Del Rio Date: Mon, 7 Dec 2020 16:50:48 -0500 Subject: [PATCH] [Amsterdam] Small styling adjustments in tooltips (#4353) * adjust padding in tooltip * reduce border-radius in EuiRange's tooltip --- CHANGELOG.md | 2 ++ src/themes/eui-amsterdam/overrides/_index.scss | 2 ++ src/themes/eui-amsterdam/overrides/_range.scss | 3 +++ src/themes/eui-amsterdam/overrides/_tooltip.scss | 3 +++ 4 files changed, 10 insertions(+) create mode 100644 src/themes/eui-amsterdam/overrides/_range.scss create mode 100644 src/themes/eui-amsterdam/overrides/_tooltip.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index c3be2bc5083..0a9284258ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ - Removed the shadow in `EuiComment` ([#4321](https://github.com/elastic/eui/pull/4321)) - Reduced font size for `xs` size in `EuiButtonEmpty` ([#4325](https://github.com/elastic/eui/pull/4325)) - Increased font size for `m` size of `EuiListGroupItem` ([#4340](https://github.com/elastic/eui/pull/4340)) +- Reduced padding in `EuiToolTip` ([#4353](https://github.com/elastic/eui/pull/4353)) +- Reduced border-radius in `EuiRange`'s tooltip ([#4353](https://github.com/elastic/eui/pull/4353)) ## [`30.5.1`](https://github.com/elastic/eui/tree/v30.5.1) diff --git a/src/themes/eui-amsterdam/overrides/_index.scss b/src/themes/eui-amsterdam/overrides/_index.scss index 56330055f51..abd38972f57 100644 --- a/src/themes/eui-amsterdam/overrides/_index.scss +++ b/src/themes/eui-amsterdam/overrides/_index.scss @@ -20,5 +20,7 @@ @import 'overlay_mask'; @import 'popover'; @import 'progress'; +@import 'range'; @import 'text'; @import 'toast'; +@import 'tooltip'; diff --git a/src/themes/eui-amsterdam/overrides/_range.scss b/src/themes/eui-amsterdam/overrides/_range.scss new file mode 100644 index 00000000000..2453d251c00 --- /dev/null +++ b/src/themes/eui-amsterdam/overrides/_range.scss @@ -0,0 +1,3 @@ +.euiRangeTooltip__value { + border-radius: $euiBorderRadiusSmall; +} diff --git a/src/themes/eui-amsterdam/overrides/_tooltip.scss b/src/themes/eui-amsterdam/overrides/_tooltip.scss new file mode 100644 index 00000000000..7f131547f3d --- /dev/null +++ b/src/themes/eui-amsterdam/overrides/_tooltip.scss @@ -0,0 +1,3 @@ +.euiToolTip { + padding: $euiSizeS; +}