From b76049afdbbefb1b71069eac60b016230fd98fe2 Mon Sep 17 00:00:00 2001 From: trwnh Date: Thu, 10 Jan 2019 13:14:29 -0600 Subject: [PATCH] Make NSFW shade the same size as its container --- resources/assets/sass/custom.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss index 45068728b..f41e7f40a 100644 --- a/resources/assets/sass/custom.scss +++ b/resources/assets/sass/custom.scss @@ -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; }