Skip to content

Commit

Permalink
Do not wrap the modal content if it cannot fit the viewport width
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Aug 1, 2018
1 parent 3c6aa32 commit 47e8018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
background-color: rgba(51, 51, 51, .55);
z-index: 1050;

white-space: nowrap;
overflow-x: auto;

// Centering in the Unknown
// https://css-tricks.com/centering-in-the-unknown/
&.centered {
Expand Down

0 comments on commit 47e8018

Please sign in to comment.