Skip to content

Commit

Permalink
fix(kit): fix InputNumber buttons styles priority for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy committed Jun 6, 2024
1 parent 9125a62 commit c6c593e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions projects/kit/components/input-number/input-number.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit c6c593e

Please sign in to comment.