Explorar o código

Merge pull request #768 from trwnh/nsfw-sizing

Make NSFW shade the same size as its container
daniel %!s(int64=6) %!d(string=hai) anos
pai
achega
7260c552b0
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      resources/assets/sass/custom.scss

+ 9 - 1
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;
 }