mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
Make NSFW shade the same size as its container
This commit is contained in:
parent
2eba39d317
commit
b76049afdb
1 changed files with 9 additions and 1 deletions
10
resources/assets/sass/custom.scss
vendored
10
resources/assets/sass/custom.scss
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue