Make NSFW shade the same size as its container

This commit is contained in:
trwnh 2019-01-10 13:14:29 -06:00 committed by GitHub
parent 2eba39d317
commit b76049afdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -306,13 +306,21 @@ details summary::-webkit-details-marker {
}
.details-animated > summary {
display: block;
display: flex;
flex-flow: column;
justify-content: center;
background-color: #ECF0F1;
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
}
@media (min-width: 720px) {
.details-animated > summary {
min-height: 600px;
}
}
.details-animated[open] > summary {
display: none!important;
}