Skip to content

Commit

Permalink
fix(scroll): set ms-viewport to prevent IE "squish" effect
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygovier committed Apr 22, 2015
1 parent 8a01941 commit 26361d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scss/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ body.grade-c {
@include text-size-adjust(none);
@include transform-origin(left, top);
}
/**
* Set ms-viewport to prevent MS "page squish" and allow fluid scrolling
* https://msdn.microsoft.com/en-us/library/ie/hh869615(v=vs.85).aspx
*/
@-ms-viewport { width: device-width; }

// Scroll bar styles
.scroll-bar {
Expand Down

1 comment on commit 26361d6

@tjamin
Copy link

@tjamin tjamin commented on 26361d6 Oct 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.