Remove some footer voodoo to simplify things

This commit is contained in:
gregoirenovel 2018-02-27 16:08:38 +01:00
parent cbdde36873
commit 03559eec0b
4 changed files with 1 additions and 21 deletions

View file

@ -3,11 +3,6 @@ $page-width: 1040px;
$default-spacer: 8px;
$default-padding: 2 * $default-spacer;
$footer-height: 267px;
$footer-height-mobile: 531px;
$small-footer-height: 2 * $default-padding;
// layouts
$two-columns-padding: 60px;
$two-columns-breakpoint: $page-width + (2 * $two-columns-padding);

View file

@ -15,16 +15,7 @@ select {
.page-wrapper {
position: relative;
padding-bottom: $small-footer-height;
min-height: 100%;
&.with-footer {
padding-bottom: $footer-height;
@media (max-width: 1000px) {
padding-bottom: $footer-height-mobile;
}
}
}
h1 {

View file

@ -7,14 +7,8 @@ footer {
@include vertical-padding(72px);
background-color: $light-grey;
border-top: 1px solid $border-grey;
position: absolute;
bottom: 0;
width: 100%;
height: $footer-height;
@media (max-width: 1000px) {
height: $footer-height-mobile;
}
}
.footer-columns {

View file

@ -17,7 +17,7 @@
= stylesheet_link_tag "new_design/print", media: "print", "data-turbolinks-track": true
%body
.page-wrapper{ class: content_for?(:display_footer) ? 'with-footer' : 'nil' }
.page-wrapper
= render partial: "layouts/support_navigator_banner"
= render partial: "layouts/ie_lt_10"
- if Rails.env == "staging"