Fix Alert at small sizes

This commit is contained in:
Justin Edmund 2023-06-21 03:20:50 -07:00
parent 7d7a94b5d2
commit e20d7fb0f1

View file

@ -22,9 +22,14 @@
max-width: 30vw; max-width: 30vw;
padding: $unit * 4; padding: $unit * 4;
@include breakpoint(tablet) {
max-width: inherit;
max-width: 60vw;
}
@include breakpoint(phone) { @include breakpoint(phone) {
max-width: inherit; max-width: inherit;
width: 60vw; width: 70vw;
} }
.description { .description {
@ -41,5 +46,15 @@
display: flex; display: flex;
align-self: flex-end; align-self: flex-end;
gap: $unit; gap: $unit;
@include breakpoint(phone) {
flex-direction: column-reverse;
align-self: center;
width: 100%;
.Button {
width: 100%;
}
}
} }
} }