Skip to content

Commit

Permalink
Launch modal: set min-width (#94171)
Browse files Browse the repository at this point in the history
* Launch modal: set min-width

* fix modal layout for mobile resolutions
  • Loading branch information
eoigal authored Sep 6, 2024
1 parent 3a8b596 commit e02a0a3
Showing 1 changed file with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$breakpoint-mobile: 782px; //Mobile size.

.launched__modal {
max-width: 640px;

Expand All @@ -16,6 +18,10 @@
display: flex;
flex-direction: column;
gap: 32px;

@media (min-width: $breakpoint-mobile) {
min-width: 640px;
}
}

&-heading {
Expand All @@ -33,7 +39,10 @@
display: flex;
justify-content: center;
align-items: center;
max-width: 75%;
max-width: 100%;
@media (min-width: $breakpoint-mobile) {
max-width: 75%;
}
}

&-body,
Expand Down Expand Up @@ -64,9 +73,12 @@
padding: 8px;
background: var(--studio-gray-0);
display: flex;
flex-direction: row;
flex-direction: column;
justify-content: space-between;
align-items: center;
@media (min-width: $breakpoint-mobile) {
flex-direction: row;
}
}

.launchpad__clipboard-button {
Expand Down Expand Up @@ -104,7 +116,10 @@
align-items: center;
padding: 32px 48px;
gap: 32px;

flex-direction: column;
@media (min-width: $breakpoint-mobile) {
flex-direction: row;
}
.components-button {
height: 42px;
}
Expand Down

0 comments on commit e02a0a3

Please sign in to comment.