From 5716f34f01a6de16b825b39a1a0fb3205689bd7b Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Tue, 1 Oct 2024 18:35:48 -0700 Subject: [PATCH] Delete `euiToolTipTitle` mixin, but leave `euiToolTipStyle` --- packages/eui/changelogs/upcoming/8055.md | 1 + packages/eui/src/global_styling/mixins/_index.scss | 2 +- packages/eui/src/global_styling/mixins/_tool_tip.scss | 7 ------- .../src/themes/amsterdam/global_styling/mixins/_index.scss | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/eui/changelogs/upcoming/8055.md b/packages/eui/changelogs/upcoming/8055.md index 3dc12db0b88..50c6f90bbc3 100644 --- a/packages/eui/changelogs/upcoming/8055.md +++ b/packages/eui/changelogs/upcoming/8055.md @@ -10,3 +10,4 @@ - `euiButtonFillStyle` - `euiPanel` - `euiFormControlDefaultShadow` + - `euiToolTipTitle` diff --git a/packages/eui/src/global_styling/mixins/_index.scss b/packages/eui/src/global_styling/mixins/_index.scss index 5582c267970..dfec5a84f31 100644 --- a/packages/eui/src/global_styling/mixins/_index.scss +++ b/packages/eui/src/global_styling/mixins/_index.scss @@ -5,4 +5,4 @@ @import 'helpers'; @import 'states'; -@import 'tool_tip'; +@import 'tool_tip'; // Needed by Elastic Charts diff --git a/packages/eui/src/global_styling/mixins/_tool_tip.scss b/packages/eui/src/global_styling/mixins/_tool_tip.scss index b1d19deaf9e..f1223f5c1fe 100644 --- a/packages/eui/src/global_styling/mixins/_tool_tip.scss +++ b/packages/eui/src/global_styling/mixins/_tool_tip.scss @@ -16,10 +16,3 @@ background-color: $euiTooltipBorderColor; } } - -@mixin euiToolTipTitle { - font-weight: $euiFontWeightBold; - border-bottom: solid $euiBorderWidthThin $euiTooltipBorderColor; - padding-bottom: $euiSizeXS; - margin-bottom: $euiSizeXS; -} diff --git a/packages/eui/src/themes/amsterdam/global_styling/mixins/_index.scss b/packages/eui/src/themes/amsterdam/global_styling/mixins/_index.scss index 06aeb2663d3..e77211a0abd 100644 --- a/packages/eui/src/themes/amsterdam/global_styling/mixins/_index.scss +++ b/packages/eui/src/themes/amsterdam/global_styling/mixins/_index.scss @@ -7,4 +7,4 @@ @import '../../../../global_styling/mixins/helpers'; @import 'states'; -@import '../../../../global_styling/mixins/tool_tip'; +@import '../../../../global_styling/mixins/tool_tip'; // Needed by Elastic Charts