From: Marcel Werk Date: Mon, 16 Jan 2017 15:35:10 +0000 (+0100) Subject: Fixed overlapping grid margins X-Git-Tag: 3.0.1~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a8bac7018e737a26b196299def37766c6355860;p=GitHub%2FWoltLab%2FWCF.git Fixed overlapping grid margins --- diff --git a/wcfsetup/install/files/style/layout/grid.scss b/wcfsetup/install/files/style/layout/grid.scss index fa8bd23378..6f4e8f5f7a 100644 --- a/wcfsetup/install/files/style/layout/grid.scss +++ b/wcfsetup/install/files/style/layout/grid.scss @@ -12,8 +12,8 @@ .row { display: flex; - margin-right: -.9375rem; - margin-left: -.9375rem; + margin-right: -10px; + margin-left: -10px; flex-wrap: wrap; } @@ -22,8 +22,8 @@ .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { position: relative; min-height: 1px; - padding-right: .9375rem; - padding-left: .9375rem; + padding-right: 10px; + padding-left: 10px; } .col-xs-1 { @@ -363,11 +363,11 @@ /* vertical gap between wrapped columns */ .rowColGap { - margin-bottom: -1.875rem; + margin-bottom: -20px; > .col-xs-1, > .col-xs-2, > .col-xs-3, > .col-xs-4, > .col-xs-5, > .col-xs-6, > .col-xs-7, > .col-xs-8, > .col-xs-9, > .col-xs-10, > .col-xs-11, > .col-xs-12, > .col-md-1, > .col-md-2, > .col-md-3, > .col-md-4, > .col-md-5, > .col-md-6, > .col-md-7, > .col-md-8, > .col-md-9, > .col-md-10, > .col-md-11, > .col-md-12 { - margin-bottom: 1.875rem !important; + margin-bottom: 20px !important; } &:not(:first-child) {