From a778aafba29b2f89e277d833262754fcceacdb72 Mon Sep 17 00:00:00 2001 From: adcoelho Date: Wed, 21 Aug 2024 09:33:50 +0100 Subject: [PATCH 1/3] Opt into the new semantics. --- .../add_message_variables/add_message_variables.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss index 521d0f399b19b..7a959af831e5b 100644 --- a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss +++ b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss @@ -1,5 +1,11 @@ .messageVariablesPanel { @include euiYScrollWithShadows; - max-height: $euiSize * 20; - max-width: $euiSize * 20; + + & { + max-height: $euiSize * 20; + } + + & { + max-width: $euiSize * 20; + } } \ No newline at end of file From cf5d6de915797528950e7eb05b9bbf0a0993575e Mon Sep 17 00:00:00 2001 From: adcoelho Date: Wed, 21 Aug 2024 10:23:29 +0100 Subject: [PATCH 2/3] Fix quickchecks --- .../src/add_message_variables/add_message_variables.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss index 7a959af831e5b..caec1af8d957a 100644 --- a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss +++ b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss @@ -1,11 +1,8 @@ .messageVariablesPanel { @include euiYScrollWithShadows; - - & { - max-height: $euiSize * 20; - } & { + max-height: $euiSize * 20; max-width: $euiSize * 20; } } \ No newline at end of file From 7266e8c1fa861be3228b1aca77ebffdf9fcfe4c7 Mon Sep 17 00:00:00 2001 From: adcoelho Date: Wed, 21 Aug 2024 15:58:51 +0100 Subject: [PATCH 3/3] Fix --- .../src/add_message_variables/add_message_variables.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss index caec1af8d957a..d53223bd6ad0d 100644 --- a/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss +++ b/packages/kbn-alerts-ui-shared/src/add_message_variables/add_message_variables.scss @@ -1,8 +1,6 @@ .messageVariablesPanel { - @include euiYScrollWithShadows; + max-height: $euiSize * 20; + max-width: $euiSize * 20; - & { - max-height: $euiSize * 20; - max-width: $euiSize * 20; - } + @include euiYScrollWithShadows; } \ No newline at end of file