From 55af4c5a3095e45a643ef3d79bc78f57a7f0bc5c Mon Sep 17 00:00:00 2001 From: waterplea Date: Thu, 27 Jul 2023 18:02:09 +0400 Subject: [PATCH] chore: fix alert heading --- .../core/components/alert/alert.style.less | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/projects/core/components/alert/alert.style.less b/projects/core/components/alert/alert.style.less index d9e3cca6612f..d359f10c72fb 100644 --- a/projects/core/components/alert/alert.style.less +++ b/projects/core/components/alert/alert.style.less @@ -17,10 +17,24 @@ } .t-heading { - font: var(--tui-font-text-m); - line-height: 1.25rem; - font-weight: bold; margin: 0; + + [data-size='s'] & { + font: var(--tui-font-text-s); + font-weight: bold; + } + + [data-size='m'] & { + font: var(--tui-font-text-m); + line-height: 1.25rem; + font-weight: bold; + } + + [data-size='l'] & { + font: var(--tui-font-text-l); + line-height: 1.5rem; + font-weight: bold; + } } .t-content {