1
0
Fork 0

Merge pull request #768 from trwnh/nsfw-sizing

Make NSFW shade the same size as its container
This commit is contained in:
daniel 2019-02-13 12:27:08 -07:00 committed by GitHub
commit 7260c552b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

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;
}