diff --git a/app/views/shared/help/_help_dropdown_instructeur.html.haml b/app/views/shared/help/_help_dropdown_instructeur.html.haml index 329b80e50..9ebae16df 100644 --- a/app/views/shared/help/_help_dropdown_instructeur.html.haml +++ b/app/views/shared/help/_help_dropdown_instructeur.html.haml @@ -1,8 +1,11 @@ -= render Dropdown::MenuComponent.new(wrapper: :span, wrapper_options: { class: ['help-dropdown']}, menu_options: { id: "help-menu" }) do |menu| - - menu.with_button_inner_html do - = t('help') +.fr-translate.fr-nav + .fr-nav__item + %button.help-btn.fr-translate__btn.fr-btn{ "aria-controls" => "help-menu", "aria-expanded" => "false" } + = t('help') - - menu.with_item do - = render partial: 'shared/help/dropdown_items/faq_item' - - menu.with_item do - = render partial: 'shared/help/dropdown_items/email_item' + #help-menu.help__content.fr-collapse.fr-menu + %ul.fr-menu__list + %li.flex + = render partial: 'shared/help/dropdown_items/faq_item' + %li + = render partial: 'shared/help/dropdown_items/email_item' diff --git a/app/views/shared/help/dropdown_items/_email_item.html.haml b/app/views/shared/help/dropdown_items/_email_item.html.haml index 4fd296e75..029ffa4ed 100644 --- a/app/views/shared/help/dropdown_items/_email_item.html.haml +++ b/app/views/shared/help/dropdown_items/_email_item.html.haml @@ -1,5 +1,5 @@ -= mail_to CONTACT_EMAIL, role: 'menuitem' do += mail_to CONTACT_EMAIL, class: 'flex' do %span.fr-icon-mail-fill.fr-text-action-high--blue-france{ "aria-hidden": "true" } .fr-pl-1w - %h1.fr-text--sm= t('help_dropdown.technical_contact_title') - %p.fr-text--sm= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL) + %h1= t('help_dropdown.technical_contact_title') + %p= t('help_dropdown.technical_contact_description', contact_email: CONTACT_EMAIL)