【发布时间】:2020-03-09 03:16:40
【问题描述】:
我想编辑我的 material-ui fab 按钮的宽度和高度。我试图通过使用classname 并应用styles 来更改它。宽度发生变化,但我的问题是高度没有变化。
这是css代码:
const dashboardStyles = makeStyles(theme => ({
infoButton: {
height: '20px',
width: '20px'
}
}));
它改变宽度但不改变高度。感谢您的帮助。
【问题讨论】:
标签: material-ui