Skip to content

Commit

Permalink
Keep height of modal, dialog within screen height
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinalim committed Aug 15, 2018
1 parent 54d3852 commit 2e28ad2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/darkswarm/modals.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dialog, .reveal-modal {
// Small - when modal IS full screen
@media only screen and (max-width: 640px) {
height: 500px;
max-height: 100%;
position: absolute !important;
top: 0;
left: 0;
Expand Down

0 comments on commit 2e28ad2

Please sign in to comment.