Skip to content

Commit

Permalink
modal responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Jun 6, 2016
1 parent 9fa63b9 commit 0e60946
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions src/sass/components/_modal-alpha.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
.modal-alpha {
.modal-alpha {
div:nth-of-type(2) {
@include media-breakpoint-up(xl) {
width: 600px;
}

@include media-breakpoint-only(lg) {
min-width: 50vw;
}

@include media-breakpoint-only(md) {
width: 70%;
}

@include media-breakpoint-only(sm) {
width: 80%;
}

@include media-breakpoint-down(xs) {
width: 95%;
}
}

.modal-content {
min-width: 33vw;
width: 100%;
}
}

0 comments on commit 0e60946

Please sign in to comment.