Better solution for tablet columns
authorAlexander Ebert <ebert@woltlab.com>
Mon, 29 Aug 2016 14:06:56 +0000 (16:06 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 29 Aug 2016 14:06:56 +0000 (16:06 +0200)
wcfsetup/install/files/style/layout/box.scss

index 31e704ea47d226ee705dc776a5e95509a1789b66..994b504706715a4ed0f4bd11f4c51ccb5d599bdc 100644 (file)
                }
                
                @include screen-sm-md {
-                       // WebKit fix
-                       margin-top: -30px;
+                       margin-bottom: -30px;
                        
                        -webkit-column-gap: 30px;
                        -moz-column-gap: 30px;
                                overflow: hidden; /* Fix for Firefox, IE and Edge */
                                
                                // WebKit fix
-                               display: inline-block;
-                               margin-top: 30px !important;
+                               background-clip: padding-box;
+                               border-bottom: 30px solid transparent;
+                               display: block;
+                               margin: 0 !important;
                                width: 100%;
                                
                                -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
                        margin-top: 30px;
                }
                
-               &.boxAlternative {
-                       background-color: transparent;
-                       border: 1px solid $wcfContentBorderInner;
-               }
-               
                &.boxError {
                        background-color: $wcfStatusErrorBackground;
                        color: $wcfStatusErrorText;