From 6ed5cd6feb1333e6eaa52fa52a36c8d8b1493f26 Mon Sep 17 00:00:00 2001 From: benjaminhenkel Date: Tue, 6 Aug 2019 12:39:01 +0200 Subject: [PATCH] navbar: improve wording, and allow two-lines layout --- app/views/layouts/_navbar.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml index 1bf5272eb..2b595503c 100644 --- a/app/views/layouts/_navbar.html.haml +++ b/app/views/layouts/_navbar.html.haml @@ -9,8 +9,9 @@ .col-xs-10.no-padding #navbar-body .row - %div{ style: "vertical-align: middle;float:left;position:absolute;line-height: 60px;z-index:2;" } - đŸ‘‰Besoin d'aide? Contactez-nous par chat, email ou prenez RDV + %div{ style: "max-width: 50%; position: absolute; display: flex; flex-direction: column; justify-content: center; height: 60px; line-height: 20px; z-index: 2;" } + %span + đŸ‘‰Â Besoin d’aide ? Consultez la documentation et l’aide, contactez-nous par chat ou email, ou prenez RDV. -# BEST WTF EVER -# this begin rescue hides potentials bugs by displaying another navbar - begin