disable scrolling behind popover

This commit is contained in:
Alina Beck 2019-09-03 11:44:22 +01:00
parent be80c1c598
commit f34ff188eb
2 changed files with 7 additions and 0 deletions

View File

@ -83,6 +83,8 @@
border-radius: $border-radius-base;
padding: $space-x-small $space-small;
box-shadow: $box-shadow-large;
overflow: auto;
max-height: 73.5vh; // magic! fully visible on mobile, no scrolling on wide screen
}
@include arrow(5px, "tooltip", $background-color-inverse-soft);

View File

@ -50,6 +50,11 @@ $easeOut: cubic-bezier(0.19, 1, 0.22, 1);
background: #fff;
}
body.dropdown-open {
height: 100vh;
overflow: hidden;
}
blockquote {
display: block;
padding: 15px 20px 15px 45px;