[material-ui][Button] Text is not vertically centered #40277
Labels
component: button
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
status: waiting for author
Issue with insufficient information
Steps to reproduce 🕹
I am currently using the latest version of MUI, and I am experiencing an issue where the text inside a button is not vertically centered. Despite attempting adjustments such as line-height and padding, the issue persists. Upon searching, I discovered that the problem is associated with custom fonts. Specifically, when using sans-serif fonts, the alignment is correct. However, with custom fonts, the text appears to be top-aligned.
Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: