From 7a4fb4dd033a91d4e3a280b5060e5a9df168f038 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Wed, 11 Dec 2024 14:08:21 +0200 Subject: [PATCH] fix alert title margin --- src/app/cdk/alert-message/alert-message.component.scss | 9 ++++----- .../pages/developer-tools/developer-tools.component.html | 5 ++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/app/cdk/alert-message/alert-message.component.scss b/src/app/cdk/alert-message/alert-message.component.scss index f81779ca1..24020b871 100644 --- a/src/app/cdk/alert-message/alert-message.component.scss +++ b/src/app/cdk/alert-message/alert-message.component.scss @@ -11,14 +11,13 @@ } .content { - ::ng-deep { - > :first-child { - margin-top: 8px; - } - } line-height: 21px !important; } +.title:not(:empty) + .content:not(:empty) { + margin-top: 8px; +} + .alert-container { border: solid 2px; border-radius: 4px; diff --git a/src/app/developer-tools/pages/developer-tools/developer-tools.component.html b/src/app/developer-tools/pages/developer-tools/developer-tools.component.html index 4dfdff223..21c56b9de 100644 --- a/src/app/developer-tools/pages/developer-tools/developer-tools.component.html +++ b/src/app/developer-tools/pages/developer-tools/developer-tools.component.html @@ -490,7 +490,10 @@