From 6b5ffdb0d68da79e2639cac9f2323d312ba4c867 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 13 Feb 2010 17:34:29 -0800 Subject: [PATCH] [Compass Core] Clear the sticky footer so that it works correctly with grid layouts. Closes GH-79. --- .../compass/stylesheets/compass/layout/_sticky_footer.sass | 1 + test/fixtures/stylesheets/compass/css/layout.css | 1 + 2 files changed, 2 insertions(+) diff --git a/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass b/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass index 7ab874ca..f6dd573f 100644 --- a/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +++ b/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass @@ -7,6 +7,7 @@ html, body height: 100% #{!root_selector} + clear: both min-height: 100% height: auto !important height: 100% diff --git a/test/fixtures/stylesheets/compass/css/layout.css b/test/fixtures/stylesheets/compass/css/layout.css index f461c7a0..fd0af10b 100644 --- a/test/fixtures/stylesheets/compass/css/layout.css +++ b/test/fixtures/stylesheets/compass/css/layout.css @@ -2,6 +2,7 @@ html, body { height: 100%; } #layout { + clear: both; min-height: 100%; height: auto !important; height: 100%;