Skip to content

Commit

Permalink
feat(layout): Cell add border-radius (#8801)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy authored Sep 5, 2024
1 parent abcaf12 commit 1b05ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/layout/components/cell/cell.styles.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@import '@taiga-ui/core/styles/taiga-ui-local';

[tuiCell] {
--tui-height: calc(var(--tui-height-s) - 0.5rem);
--t-padding: 0.125rem 1rem;
--t-radius: var(--tui-radius-s);

.button-clear();

Expand All @@ -14,6 +14,7 @@
color: var(--tui-text-primary);
padding: var(--t-padding);
min-block-size: var(--t-height);
border-radius: var(--t-radius);

&:disabled {
pointer-events: none;
Expand Down Expand Up @@ -139,6 +140,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 1b05ba4

Please sign in to comment.