style(mobile): fix burger menu alignment: we need a left icon (match UX)

This commit is contained in:
Colin Darie 2022-11-30 09:56:32 +01:00
parent f6068e6151
commit 8baac2087e
3 changed files with 8 additions and 2 deletions

View file

@ -43,3 +43,9 @@ fieldset {
padding-left: 0;
padding-bottom: 0;
}
.fr-btn.fr-btn--icon-left[target="_blank"] {
&::after {
display: none;
}
}

View file

@ -50,7 +50,8 @@
- elsif nav_bar_profile == :instructeur
= render partial: 'shared/help/help_dropdown_instructeur'
- else
= render partial: 'shared/help/help_button'
// NB: on mobile in order to have links correctly aligned, we need a left icon
= link_to t('help'), FAQ_URL, class: 'fr-btn fr-icon-questionnaire-line fr-btn--icon-left', title: new_tab_suffix(t('help')), **external_link_attributes

View file

@ -1 +0,0 @@
= link_to t('help'), FAQ_URL, class: 'fr-btn', title: new_tab_suffix(t('help')), **external_link_attributes