design : make filter buttons tertiary and dropdown secondary

This commit is contained in:
Lisa Durand 2023-01-13 15:36:13 +01:00
parent 06c6a4ab0c
commit db3085fa33
6 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
%span.dropdown{ data: { controller: 'menu-button' } }
%button.fr-btn.fr-btn--secondary.fr-btn--sm.dropdown-button{ data: { menu_button_target: 'button' } }
%button.fr-btn.fr-btn--sm.dropdown-button{ data: { menu_button_target: 'button' }, class: @class_btn.present? ? @class_btn : 'fr-btn--secondary' }
- if @count.nil?
= t(".download_all")
- else