Skip to content

Commit

Permalink
Adding some basic CSS support for IE8 including a modal window width,…
Browse files Browse the repository at this point in the history
… removing scrollbars and a transparent png for the overlay.
  • Loading branch information
Paul Redmond committed Oct 7, 2014
1 parent 7ad83de commit d5a7570
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Binary file added dist/img/overlay-ie8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions dist/jquery.remodal.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,28 @@ body.remodal_active .remodal {
-webkit-border-radius: 6px;
border-radius: 6px;
}
}

/* IE8
========================================================================== */

html.lt-ie9{
min-height:100%;
overflow: auto !important;
margin: 0;
}

html.lt-ie9 body{
min-height:100%;
overflow: auto !important;
margin: 0;
}

.lt-ie9 .remodal-overlay {
background: url(img/overlay-ie8.png);
}

.lt-ie9 .remodal.remodel-comments{
width: 500px;
min-height: auto;
}

0 comments on commit d5a7570

Please sign in to comment.