Add an element overlay, so that clicks outside of the popover can close the popover

This commit is contained in:
Kelly Dwan 2019-11-20 17:48:24 -05:00
parent cb571a176b
commit 2a66f3f870
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
3 changed files with 23 additions and 1 deletions

View file

@ -61,4 +61,17 @@
padding: 10px;
text-decoration: none;
}
}
}
.pledge-dialog__background {
position: fixed;
z-index: 99;
top: 0;
left: 0;
bottom: 0;
right: 0;
&[hidden] {
display: none;
}
}