update Button Icon style
This commit is contained in:
parent
a61acfdcb7
commit
bfeab68fc2
2 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
|
<Button type="primary" icon="ios-information-circle" size="small">Search</Button>
|
||||||
|
<Button type="primary" icon="ios-information-circle" size="default">Search</Button>
|
||||||
|
<Button type="primary" icon="ios-information-circle" size="large">Search</Button>
|
||||||
|
<br><br><br>
|
||||||
<Button to="/menu" @click="hc">Open Menu</Button>
|
<Button to="/menu" @click="hc">Open Menu</Button>
|
||||||
<Button to="/menu" replace>Open Menu Replace</Button>
|
<Button to="/menu" replace>Open Menu Replace</Button>
|
||||||
<Button to="//iviewui.com" target="_blank">Open iView</Button>
|
<Button to="//iviewui.com" target="_blank">Open iView</Button>
|
||||||
|
|
|
@ -139,6 +139,15 @@
|
||||||
|
|
||||||
> .@{css-prefix-iconfont} {
|
> .@{css-prefix-iconfont} {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-icon-only > .@{css-prefix-iconfont}{
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
> span{
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
&,
|
&,
|
||||||
|
|
Loading…
Add table
Reference in a new issue