Skip to content

Commit

Permalink
tidy up CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijbet committed Nov 22, 2024
1 parent 631a25b commit be7af7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/calcite-components/src/components/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,16 @@ calcite-panel {
}

@media screen and (max-width: $width + 2 * $baseline) {
.width-#{$size},
.width {
.width-#{$size} {
@apply m-0
h-full
max-h-full
w-full
max-w-full;
inset-inline-start: 0;
inset-block-start: var(--calcite-internal-dialog-animation-offset);
}
.width-#{$size}.dialog {
&--opening {
&-active {
inset-block-start: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const CSS = {
containerOpen: "container--open",
containerEmbedded: "container--embedded",
assistiveText: "assistive-text",
openingActive: "width--opening-active",
openingActive: "dialog--opening-active",
};

export const SLOTS = {
Expand Down

0 comments on commit be7af7a

Please sign in to comment.