LuccaSA / lucca-front

documentation
https://prisme.lucca.io
MIT License
40 stars 4 forks source link

[Checkbox] - Label and tooltip not properly aligned on size S #3199

Closed nsarradin closed 1 week ago

nsarradin commented 3 weeks ago

When checkbox is in size S and has a tooltip, the label and the tooltip are not properly aligned. The label seems too low compared to the tootltip and the checkbox

Image

jeremie-lucca commented 1 week ago

Following the guidelines, helper text should not be used as a tooltip on checkbox's label.

It should be used as a tooltip on fieldset's legend, like this: Image

or, as visible texte on checkbox's inline message, like this: Image