zdhxiong / mdui

Material Design 3(Material You) UI components using Web Components.

Home Page:https://www.mdui.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mdui-button 的 font-weight 似乎没有传递到内部

RikkaW opened this issue · comments

也许在这里面加上 font-weight: inherit; 就好了(

.button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
height: 100%;
padding: 0;
overflow: hidden;
color: inherit;
font-size: inherit;
font-family: inherit;
letter-spacing: inherit;
white-space: nowrap;
text-align: center;
text-decoration: none;
vertical-align: middle;
background: transparent;
border: none;
outline: none;
cursor: inherit;
user-select: none;
touch-action: manipulation; // 移除点击延迟触发
zoom: 1;
-webkit-user-drag: none;
}

是的,要不来个 pr