Separate template clear and overflow properties in frontend stylesheet

This commit is contained in:
Brian Miyaji
2017-01-20 12:22:22 +11:00
parent c322e1fe16
commit bfed0c46f1

View File

@@ -6,8 +6,13 @@
font-family: "Roboto", "Helvetica", sans-serif; 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. * This stylesheet can be disabled via SportsPress General Settings.
*/ */
@@ -32,6 +37,10 @@
font-family: "Roboto", "Helvetica", sans-serif !important; font-family: "Roboto", "Helvetica", sans-serif !important;
} }
.sp-template {
margin-bottom: 20px !important;
}
.sp-template *, .sp-template *,
.sp-data-table *, .sp-data-table *,
.sp-table-caption { .sp-table-caption {
@@ -42,11 +51,6 @@
color: #333 !important; color: #333 !important;
} }
.sp-template {
overflow: hidden !important;
margin-bottom: 20px !important;
}
.sp-table-caption { .sp-table-caption {
margin: 0 !important; margin: 0 !important;
padding: 15px !important; padding: 15px !important;