From bfed0c46f1ada0c4874feb4538bdb062495e9cad Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 20 Jan 2017 12:22:22 +1100 Subject: [PATCH] Separate template clear and overflow properties in frontend stylesheet --- assets/css/sportspress-style.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/css/sportspress-style.css b/assets/css/sportspress-style.css index 2d51268a..c856fc62 100644 --- a/assets/css/sportspress-style.css +++ b/assets/css/sportspress-style.css @@ -6,8 +6,13 @@ font-family: "Roboto", "Helvetica", sans-serif; } +.sp-template { + clear: both; + overflow: hidden; +} + /* - * Note: !important everything to enforce overrides. + * Note: !important everything below to enforce overrides. * This stylesheet can be disabled via SportsPress General Settings. */ @@ -32,6 +37,10 @@ font-family: "Roboto", "Helvetica", sans-serif !important; } +.sp-template { + margin-bottom: 20px !important; +} + .sp-template *, .sp-data-table *, .sp-table-caption { @@ -42,11 +51,6 @@ color: #333 !important; } -.sp-template { - overflow: hidden !important; - margin-bottom: 20px !important; -} - .sp-table-caption { margin: 0 !important; padding: 15px !important;