From 0a8bac7018e737a26b196299def37766c6355860 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 16 Jan 2017 16:35:10 +0100 Subject: [PATCH] Fixed overlapping grid margins --- wcfsetup/install/files/style/layout/grid.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) { -- 2.20.1