Skip to content

Commit

Permalink
fix: remove dialog border
Browse files Browse the repository at this point in the history
  • Loading branch information
sirineJ committed Dec 4, 2024
1 parent 3b10b37 commit 66b9e63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/circuit-ui/components/Dialog/Dialog.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@media (min-width: 480px) {
.dialog {
width: max-content;
min-width: 480px;
max-width: 90vw;
max-height: 90vw;
}
Expand Down Expand Up @@ -114,12 +115,12 @@
.content {
overflow-y: auto;
background-color: var(--cui-bg-elevated);
border: 1px solid var(--cui-border-subtle);
border-radius: var(--cui-border-radius-byte);
}

@media (max-width: 479px) {
.content {
width: 100%;
height: 100%;
padding: var(--cui-spacings-mega);
padding-bottom: calc(
Expand All @@ -131,9 +132,6 @@

@media (min-width: 480px) {
.content {
min-width: 480px;
max-width: 90vw;
max-height: 90vh;
padding: var(--cui-spacings-giga);
padding-bottom: calc(
env(safe-area-inset-bottom) + var(--cui-spacings-giga)
Expand Down
1 change: 0 additions & 1 deletion packages/circuit-ui/components/Dialog/Dialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ Immersive.parameters = {
},
};

InitiallyOpen.play = openModal;
Immersive.play = openModal;
PreventClose.play = openModal;
Base.play = openModal;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@media (min-width: 480px) {
.centered.base {
width: calc(100vw - var(--cui-spacings-peta) * 2);
min-width: 480px;
min-width: unset;
max-width: 420px;
max-height: calc(100vh - var(--cui-spacings-mega) * 2);
}
Expand Down

0 comments on commit 66b9e63

Please sign in to comment.