Skip to content

Commit

Permalink
Fix Modals on Mobile (#1110)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbobeirne authored and dternyak committed Feb 17, 2018
1 parent 97d58c4 commit 41c5c32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/components/ui/Modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ $m-anim-speed: 400ms;
min-width: 100px;
}
}

// Mobile styles
@media(max-width: $screen-sm) {
width: calc(100% - 40px);
}
}

.animate-modal {
Expand Down
4 changes: 4 additions & 0 deletions common/sass/styles/scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,7 @@ hr {
border: 0;
border-top: 1px solid $hr-border;
}

#app {
overflow-x: hidden;
}

0 comments on commit 41c5c32

Please sign in to comment.