Permalink
Browse files

bug: Scrollbar in Custom-Dialog was visible

  • Loading branch information...
MikeMitterer committed Feb 6, 2017
1 parent 8077323 commit 710e32b97df7883a70b64f80c375823c37303ad8
Showing with 16 additions and 2 deletions.
  1. +3 −0 lib/assets/styles/dialog/_dialog.scss
  2. +12 −1 lib/assets/styles/material.css
  3. +1 −1 lib/assets/styles/material.min.css
@@ -20,6 +20,7 @@
@import "../theme/theme";
@import "../shadow/mixins";
@import "../typography/mixins";
@import "../scrollbars/mixins";
@import "variables";
@import "mixins";
@@ -87,6 +88,8 @@
h1,h2,h3,h4,h5,h6 { margin-bottom: 18px; }
p { @include typo-subhead(true); color: $dialog-secondary-color; }
@include hide_scrollbar($show_on_hover: false);
}
.mdl-dialog__actions {
@@ -7031,7 +7031,9 @@ input[name^='mdl-accordion']:checked ~ .mdl-accordion--content {
order: 1;
padding: 24px 24px 0 24px;
overflow: auto;
-webkit-overflow-scrolling: touch; }
-webkit-overflow-scrolling: touch;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar; }
.mdl-dialog-container .mdl-dialog .mdl-dialog__content:not([layout=row]) > *:first-child:not(.mdl-subheader) {
margin-top: 0; }
.mdl-dialog-container .mdl-dialog .mdl-dialog__content h1, .mdl-dialog-container .mdl-dialog .mdl-dialog__content h2, .mdl-dialog-container .mdl-dialog .mdl-dialog__content h3, .mdl-dialog-container .mdl-dialog .mdl-dialog__content h4, .mdl-dialog-container .mdl-dialog .mdl-dialog__content h5, .mdl-dialog-container .mdl-dialog .mdl-dialog__content h6 {
@@ -7044,6 +7046,15 @@ input[name^='mdl-accordion']:checked ~ .mdl-accordion--content {
letter-spacing: 0.04em;
opacity: 0.87;
color: black; }
.mdl-dialog-container .mdl-dialog .mdl-dialog__content::-webkit-scrollbar {
display: none;
-webkit-appearance: none; }
.mdl-dialog-container .mdl-dialog .mdl-dialog__content:hover::-webkit-scrollbar-thumb {
border-radius: 8px;
border: 2px solid white;
background-color: rgba(0, 0, 0, 0.5); }
.mdl-dialog-container .mdl-dialog .mdl-dialog__content::-webkit-scrollbar-button {
display: none; }
.mdl-dialog-container .mdl-dialog .mdl-dialog__actions {
display: -webkit-box;
display: -ms-flexbox;

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 710e32b

Please sign in to comment.