Skip to content

Commit

Permalink
Merge pull request #777 from eek/master
Browse files Browse the repository at this point in the history
FIX: Windows Scrollbars
  • Loading branch information
t4t5 authored Dec 14, 2017
2 parents cc6dcdd + 508f10e commit 1086356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/assets/css/highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
font-size: 14px;
line-height: normal;
color: rgba(0,0,0,0.62);
overflow-x: scroll;
overflow-x: auto;
}
.highlight .editor {
font-family: $code-font;
Expand Down
4 changes: 2 additions & 2 deletions src/sweetalert.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
right: 0;
text-align: center;
font-size: 0; /* Remove gap between inline-block elements */
overflow-y: scroll;
overflow-y: auto;

background-color: rgba(0, 0, 0, 0.4);
z-index: 10000;
Expand All @@ -31,7 +31,7 @@
}

&--show-modal {
opacity: 1;
opacity: 1;
pointer-events: auto;

& .swal-modal {
Expand Down

0 comments on commit 1086356

Please sign in to comment.