Hope to add button width
HinokiSu opened this issue · comments
Hinoki commented
About styles
🛠️
Hey, Is it possible to add width
on the button.
I can now only change the button width as shown below:
<div class="search">
<fe-button size="large" ghost>Search</fe-button>
</div>
.search {
button {
min-width: 40px;
}
}
kanno commented
@HinokiSu Thank you for your attention. But I don't know your mean from the example. In preset, size=large
will set 250px
minimum width for button, if you want to use mini-width=40
, I think use props auto
will be better.
kanno commented
We have prepared a theme setting component in version 1.2.0, Now we have release v1.2.0-rc.0
, if you are interested in it can view rc document.
If it implements the prop width
it will destroy the existing prop size
Hinoki commented
Thanks a lot.