From f3181f1f5e0c3258d72a2e7c7e0c3272824bb672 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Thu, 20 Jun 2024 09:57:19 +0200 Subject: [PATCH] Moves separating margin --- app/assets/stylesheets/new_header.scss | 2 +- app/views/layouts/_account_dropdown.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/new_header.scss b/app/assets/stylesheets/new_header.scss index 255bf16ce..e80f27060 100644 --- a/app/assets/stylesheets/new_header.scss +++ b/app/assets/stylesheets/new_header.scss @@ -25,4 +25,4 @@ .fr-nav__item:only-child::before { box-shadow: none; } -} \ No newline at end of file +} diff --git a/app/views/layouts/_account_dropdown.haml b/app/views/layouts/_account_dropdown.haml index fb7c6026e..39beaf8ce 100644 --- a/app/views/layouts/_account_dropdown.haml +++ b/app/views/layouts/_account_dropdown.haml @@ -1,11 +1,11 @@ %nav.fr-translate.fr-nav{ role: "navigation", "aria-label"=> t('my_account', scope: [:layouts]) } .fr-nav__item %button.account-btn.fr-translate__btn.fr-btn{ "aria-controls" => "account", "aria-expanded" => "false", :title => t('my_account', scope: [:layouts]) } - %span= current_email + %span.fr-mr-1w= current_email - if dossier.present? && dossier&.france_connected_with_one_identity? %span  via FranceConnect - %span{ class: "fr-badge fr-badge--sm fr-ml-1w #{color_by_role(nav_bar_profile)}" } + %span{ class: "fr-badge fr-badge--sm #{color_by_role(nav_bar_profile)}" } = t("layouts.#{nav_bar_profile}") #account.fr-collapse.fr-menu %ul.fr-menu__list.max-content