Bladeren bron

Make NSFW shade the same size as its container

trwnh 6 jaren geleden
bovenliggende
commit
b76049afdb
1 gewijzigde bestanden met toevoegingen van 9 en 1 verwijderingen
  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 {
 .details-animated > summary {
-  display: block;
+  display: flex;
+  flex-flow: column;
+  justify-content: center;
   background-color: #ECF0F1;
   background-color: #ECF0F1;
   padding-top: 50px;
   padding-top: 50px;
   padding-bottom: 50px;
   padding-bottom: 50px;
   text-align: center;
   text-align: center;
 }
 }
 
 
+@media (min-width: 720px) {
+  .details-animated > summary {
+    min-height: 600px;
+  }
+}
+
 .details-animated[open] > summary {
 .details-animated[open] > summary {
   display: none!important;
   display: none!important;
 }
 }