Skip to content

Commit

Permalink
Merge pull request #310 from froboy/patch-4
Browse files Browse the repository at this point in the history
Category filter modal (or "pop-up") overflows page
  • Loading branch information
AnastasiiaPys authored Apr 19, 2021
2 parents 2cccea8 + e2aef0f commit 89b733a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/gated-content/dist/gated-content.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions js/gated-content/src/scss/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
}
.modal-container {
width: 400px;
max-height: 80vh;
display: flex;
flex-direction: column;
margin: 0 auto;
background-color: #fff;
border-radius: 2px;
Expand All @@ -27,6 +30,7 @@
}
.modal-body {
margin: 20px 0;
overflow-y: scroll;
}
.modal-default-button {
float: right;
Expand Down

0 comments on commit 89b733a

Please sign in to comment.