From patchwork Tue Nov 29 09:37:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 5364 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 197F823E17 for ; Tue, 29 Nov 2011 09:43:03 +0000 (UTC) Received: from mail-lpp01m010-f52.google.com (mail-lpp01m010-f52.google.com [209.85.215.52]) by fiordland.canonical.com (Postfix) with ESMTP id F2B3EA18550 for ; Tue, 29 Nov 2011 09:43:02 +0000 (UTC) Received: by mail-lpp01m010-f52.google.com with SMTP id h2so1235327laa.11 for ; Tue, 29 Nov 2011 01:43:02 -0800 (PST) Received: by 10.152.104.1 with SMTP id ga1mr30646954lab.40.1322559782882; Tue, 29 Nov 2011 01:43:02 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs32877lal; Tue, 29 Nov 2011 01:43:02 -0800 (PST) Received: by 10.180.95.170 with SMTP id dl10mr48999415wib.31.1322559438897; Tue, 29 Nov 2011 01:37:18 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id j10si18423133wij.52.2011.11.29.01.37.18 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Nov 2011 01:37:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RVK7q-0007JL-KG for ; Tue, 29 Nov 2011 09:37:18 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id 915D8E15CF for ; Tue, 29 Nov 2011 09:37:18 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 313 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 313: Fix footer overflowing the main content. Message-Id: <20111129093718.13982.26081.launchpad@ackee.canonical.com> Date: Tue, 29 Nov 2011 09:37:18 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14399"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 5fcd4aabccef8d62b6273f968f3070643c5ebf47 ------------------------------------------------------------ revno: 313 committer: Zygmunt Krynicki branch nick: next timestamp: Tue 2011-11-22 18:48:43 +0100 message: Fix footer overflowing the main content. If the user agent does not have enough vertical space the footer would hide a portion of the content page. This patch restores the previous method of ensuring that it never happens by putting a div with enough padding to keep the footer away. modified: lava_server/htdocs/css/default.css lava_server/templates/layouts/content.html --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/htdocs/css/default.css' --- lava_server/htdocs/css/default.css 2011-11-22 17:36:14 +0000 +++ lava_server/htdocs/css/default.css 2011-11-22 17:48:43 +0000 @@ -215,12 +215,11 @@ /* Around content area */ #lava-around-content { - margin: 1em 3em 100px 3em; + margin: 1em 3em; background-color: #333; border-radius: 8px; } - #lava-around-content:before { display: block; content: " "; @@ -309,6 +308,12 @@ /* Footer */ +#lava-footer-sanitizer { + display: block; + content: " "; + padding-bottom: 100px; +} + #lava-footer { position: absolute; bottom: 0; === modified file 'lava_server/templates/layouts/content.html' --- lava_server/templates/layouts/content.html 2011-11-22 17:36:14 +0000 +++ lava_server/templates/layouts/content.html 2011-11-22 17:48:43 +0000 @@ -254,6 +254,8 @@ {% endspaceless %} + +