From 6b0c7717c9880be39495c411b12808909a9f7033 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Sun, 11 Jan 2015 13:50:06 -0800 Subject: [PATCH] Set a fixed table-layout in the clearfix to avoid max-width conflict. Some browsers ignore the max-width property on children of elements with display: table. See http://www.carsonshold.com/2014/07/css-display-table-cell-child-width-bug-in-firefox-and-ie/ --- sass/mixins/_mixins-master.scss | 1 + style.css | 1 + 2 files changed, 2 insertions(+) diff --git a/sass/mixins/_mixins-master.scss b/sass/mixins/_mixins-master.scss index 60fe185..024159a 100644 --- a/sass/mixins/_mixins-master.scss +++ b/sass/mixins/_mixins-master.scss @@ -14,6 +14,7 @@ @mixin clearfix() { content: ""; display: table; + table-layout: fixed; } // Clear after (not all clearfix need this also) diff --git a/style.css b/style.css index 587ad55..5c63a1c 100644 --- a/style.css +++ b/style.css @@ -599,6 +599,7 @@ a:active { .site-footer:after { content: ""; display: table; + table-layout: fixed; } .clear:after,