update Button style
This commit is contained in:
parent
07bde2f56d
commit
e7d359c80f
3 changed files with 9 additions and 6 deletions
|
@ -81,6 +81,8 @@
|
|||
<Button type="primary" to="/" size="small">普通按钮</Button>
|
||||
<Button type="primary" size="large">普通按钮</Button>
|
||||
<Button type="primary" to="/" size="large">普通按钮</Button>
|
||||
<Button type="primary" size="large" shape="circle">普通按钮</Button>
|
||||
<Button type="primary" to="/" size="large" shape="circle">普通按钮</Button>
|
||||
<br><br><br>
|
||||
<Button type="primary" icon="ios-information-circle" size="small">Search</Button>
|
||||
<Button type="primary" icon="ios-information-circle" size="default">Search</Button>
|
||||
|
|
|
@ -191,12 +191,12 @@
|
|||
|
||||
a.@{btn-prefix-cls} {
|
||||
padding-top: 0.1px;
|
||||
line-height: @btn-height-base - 4px;
|
||||
line-height: @btn-height-base - 2px;
|
||||
|
||||
&-large {
|
||||
line-height: @btn-height-large - 4px;
|
||||
line-height: @btn-height-large - 2px;
|
||||
}
|
||||
&-small {
|
||||
line-height: @btn-height-small - 4px;
|
||||
line-height: @btn-height-small - 2px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -185,15 +185,16 @@
|
|||
|
||||
> .@{css-prefix-iconfont} {
|
||||
line-height: @line-height-base;
|
||||
vertical-align: middle;
|
||||
//vertical-align: middle;
|
||||
}
|
||||
|
||||
&-icon-only&-circle > .@{css-prefix-iconfont}{
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
> span{
|
||||
vertical-align: middle;
|
||||
> span, > i{
|
||||
display: inline-block;
|
||||
//vertical-align: middle;
|
||||
}
|
||||
|
||||
&,
|
||||
|
|
Loading…
Add table
Reference in a new issue