Skip to content

Commit

Permalink
fix: global overriding 0 padding children
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-costa-frontify committed Dec 18, 2024
1 parent 1f6cd8a commit 6637a1f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@
border-bottom: var(--line-width) solid var(--line-color);
}

&[data-dialog-header-padding='none'] {
padding: sizeToken(0);
}

&[data-dialog-header-padding='tight'] {
padding: sizeToken(2);
}
Expand Down Expand Up @@ -139,6 +143,10 @@
grid-row: 3;
grid-column: 1;

&[data-dialog-body-padding='none'] {
padding: sizeToken(0);
}

&[data-dialog-body-padding='tight'] {
padding: sizeToken(2);
}
Expand Down Expand Up @@ -170,6 +178,10 @@
grid-row: 4;
grid-column: 1;

&[data-dialog-footer-padding='none'] {
padding: sizeToken(0);
}

&[data-dialog-footer-padding='tight'] {
padding: sizeToken(2);
}
Expand Down

0 comments on commit 6637a1f

Please sign in to comment.