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 1efce9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/darkswarm/modals.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ dialog, .reveal-modal {
// Small - when modal IS full screen
@media only screen and (max-width: 640px) {
height: 500px;
left: 0;
max-height: 100%;
position: absolute !important;
top: 0;
left: 0;
}

// Medium and up - when modal IS NOT full screen
Expand Down

0 comments on commit 1efce9e

Please sign in to comment.