Closed ArseniyXaoc closed 5 months ago
Hey @ArseniyXaoc,
Thanks for reporting! @robert1508 is this correct? Should our buttons be smaller on the docs?
Cheers, Zoltan
Hello @ArseniyXaoc,
We use these classes both on Figma DS and in the code to build the buttons [py-2 px-3 text-xs font medium], and the font itself makes the button 2px taller when we code it.
As a reference, we always took the padding and font size and not the height, because in Figma we don't use a specific height but the classes for tailwind and font size.
Line height is also the normal one both on Figma and on the code, if we try to put "leading-tight" then the button comes out 31px.
Closed until further notice.
Describe the bug The height of the "Extra small" button on https://flowbite.com/docs/components/buttons/ is 32px, but in the DS template figma v 2.9.0 it is 34px