feat(header): migrate help button to dsfr

This commit is contained in:
Martin 2022-09-02 09:00:52 +02:00 committed by mfo
parent df3ef23f7e
commit fb0e863efd
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
.dropdown.help-dropdown{ data: { controller: 'menu-button' } } .dropdown.help-dropdown{ data: { controller: 'menu-button' } }
%button.button.primary.dropdown-button{ data: { menu_button_target: 'button' } } %button.fr-btn.dropdown-button{ data: { menu_button_target: 'button' } }
= t('help') = t('help')
#help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } } #help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } }
%ul.dropdown-items %ul.dropdown-items

View file

@ -1,5 +1,5 @@
.dropdown.help-dropdown{ data: { controller: 'menu-button' } } .dropdown.help-dropdown{ data: { controller: 'menu-button' } }
%button.button.primary.dropdown-button{ data: { menu_button_target: 'button' } } %button.fr-btn.dropdown-button{ data: { menu_button_target: 'button' } }
= t('help') = t('help')
#help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } } #help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } }
%ul.dropdown-items %ul.dropdown-items

View file

@ -1,5 +1,5 @@
.dropdown.help-dropdown{ data: { controller: 'menu-button' } } .dropdown.help-dropdown{ data: { controller: 'menu-button' } }
%button.button.primary.dropdown-button{ data: { menu_button_target: 'button' } } %button.fr-btn.dropdown-button{ data: { menu_button_target: 'button' } }
= t('help') = t('help')
#help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } } #help-menu.dropdown-content.fade-in-down{ data: { menu_button_target: 'menu' } }
%ul.dropdown-items %ul.dropdown-items