Added missing margin top for spoilers
authorAlexander Ebert <ebert@woltlab.com>
Fri, 22 Jul 2016 11:45:34 +0000 (13:45 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 22 Jul 2016 12:26:38 +0000 (14:26 +0200)
wcfsetup/install/files/style/bbcode/spoiler.scss

index 8e7414c9bb68d10b76eaa9d7e7498d19bf76f4be..545aa1f1c48ab0b57ce9d05c017887c329eee7f5 100644 (file)
        }
 }
 
-.spoilerBox > div {
-       background-color: $wcfContentBackground;
-       box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
-       padding: 10px 20px;
-       margin-top: 10px;
+.spoilerBox {
+       margin-top: 1em;
        
-       > p:first-child {
-               margin-top: 0;
-       }
-       
-       > p:last-child {
-               margin-bottom: 0;
+       > div {
+               background-color: $wcfContentBackground;
+               box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
+               padding: 10px 20px;
+               margin-top: 10px;
+               
+               > p:first-child {
+                       margin-top: 0;
+               }
+               
+               > p:last-child {
+                       margin-bottom: 0;
+               }
        }
 }