From c6c593eb8c12c71282768c25b620b8e786c75a1a Mon Sep 17 00:00:00 2001 From: mdlufy Date: Thu, 6 Jun 2024 15:31:57 +0300 Subject: [PATCH] fix(kit): fix `InputNumber` buttons styles priority for Safari --- .../input-number/input-number.style.less | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/kit/components/input-number/input-number.style.less b/projects/kit/components/input-number/input-number.style.less index 2f4ad19da8df..0e1117fb5ed5 100644 --- a/projects/kit/components/input-number/input-number.style.less +++ b/projects/kit/components/input-number/input-number.style.less @@ -48,20 +48,20 @@ [data-size='l'] + & .t-button { width: calc(var(--tui-height-l) * 0.75); } -} -.t-button { - display: flex; - flex: 1; - height: auto; - border-radius: 0; + & .t-button { + display: flex; + flex: 1; + height: auto; + border-radius: 0; - &:first-child { - margin-bottom: 0.125rem; - border-top-right-radius: inherit; - } + &:first-child { + margin-bottom: 0.125rem; + border-top-right-radius: inherit; + } - &:last-child { - border-bottom-right-radius: inherit; + &:last-child { + border-bottom-right-radius: inherit; + } } }