Skip to content

Commit

Permalink
feat(experimental): Cell add border-radius (#8802)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy authored Sep 4, 2024
1 parent 144a23e commit 81b1c5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions projects/experimental/directives/cell/cell.styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[tuiCell] {
--tui-height: calc(var(--tui-height-s) - 0.5rem);
--t-padding: 0.125rem 1rem;
--t-radius: var(--tui-radius-s);

.clearbtn();
position: relative;
Expand All @@ -13,6 +14,7 @@
color: var(--tui-text-01);
padding: var(--t-padding);
min-height: var(--t-height);
border-radius: var(--t-radius);

[tuiAccessories] {
position: relative;
Expand Down Expand Up @@ -128,6 +130,7 @@
&[data-size='l'] {
--t-height: calc(var(--tui-height-l) - 1rem);
--t-padding: 0.5rem 1rem;
--t-radius: var(--tui-radius-l);

& > *:not(:first-child),
& > [tuiAccessories] > *:not(:first-child) {
Expand Down

0 comments on commit 81b1c5d

Please sign in to comment.