GouvernementFR / dsfr-theme-tarteaucitron

11 stars 3 forks source link

Update styling of "Save" button in version v1.17.0 of tarteaucitron #6

Open martygraphy opened 5 months ago

martygraphy commented 5 months ago

Problem : The library tarteaucitron appears to have added a button in its version v1.17.0 to save user choices:

html

<div id="tarteaucitronSave">
  <button class="tarteaucitronAllow" id="tarteaucitronSaveButton">Save</button>
</div>

Currently, this button is displayed with the styling of a radio button. It would be less confusing and more user-friendly if this button used the default button styles, equivalent to the class fr-btn.

Proposed Solution:

Please apply the styles of a default button to the #tarteaucitronSaveButton, similar to the class fr-btn. This change will ensure that the button is visually consistent with other standard buttons and reduce user confusion.

Current rendering: Capture d’écran de 2024-05-28 14-34-35

Desired rendering : Capture d’écran de 2024-05-28 14-34-53

Thank you for your attention to this matter.