From 91fd0ca3ac8b39d36be5558ebf5eb522652c8b1c Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 5 Feb 2015 12:45:18 -0800 Subject: [PATCH] fix the footer --- layout/bootstrap.moon | 11 +++++------ static/css/main.css | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/layout/bootstrap.moon b/layout/bootstrap.moon index b7bc2cb..29874e4 100644 --- a/layout/bootstrap.moon +++ b/layout/bootstrap.moon @@ -55,13 +55,12 @@ class Layout extends Widget footer: => footer class: "footer", -> - div class: "container", -> - p class: "text-muted", -> - text "Christine Cadence Dodrill - #{os.date "%Y"}" + p class: "text-muted", -> + text "Christine Cadence Dodrill - #{os.date "%Y"}" - if os.getenv "GIT_REV" - text " - revision " - code "#{os.getenv("GIT_REV")\sub 1,8}" + if os.getenv "GIT_REV" + text " - revision " + code "#{os.getenv("GIT_REV")\sub 1,8}" body: => div class: "container", -> diff --git a/static/css/main.css b/static/css/main.css index eb1733b..3f30f8b 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -49,10 +49,10 @@ table td { .footer { position: absolute; bottom: 0; - width: 100%; /* Set the fixed height of the footer here */ height: 60px; background-color: #F2E6EB; + max-width: 600px; }