From 1d4a0dce5692a9aae65870cc94606a458930e473 Mon Sep 17 00:00:00 2001 From: Simon Lehericey Date: Tue, 4 Jul 2017 12:33:43 +0200 Subject: [PATCH] Header: fix alignement in ff --- app/assets/stylesheets/new_design/new_header.scss | 6 +----- app/views/layouts/_new_header.haml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/new_design/new_header.scss b/app/assets/stylesheets/new_design/new_header.scss index 9767723ac..9ea00b625 100644 --- a/app/assets/stylesheets/new_design/new_header.scss +++ b/app/assets/stylesheets/new_design/new_header.scss @@ -17,16 +17,12 @@ @extend %page-width-container; display: flex; justify-content: space-between; -} - -.header-logo { - margin-top: 17px; + padding-top: 17px; } .header-right-content { display: flex; align-items: center; - height: 100%; > li { @include horizontal-padding(8px); diff --git a/app/views/layouts/_new_header.haml b/app/views/layouts/_new_header.haml index 5e590e187..e6919dc50 100644 --- a/app/views/layouts/_new_header.haml +++ b/app/views/layouts/_new_header.haml @@ -1,7 +1,7 @@ .new-header{ class: current_page?(root_path) ? nil : "new-header-with-border" } .header-inner-content = link_to root_path do - %img.header-logo{ src: image_url("header/logo-tps.svg") } + %img{ src: image_url("header/logo-tps.svg") } %ul.header-right-content - if gestionnaire_signed_in?