diff --git a/examples/routers/button.vue b/examples/routers/button.vue index a238d976..369a7d75 100644 --- a/examples/routers/button.vue +++ b/examples/routers/button.vue @@ -74,6 +74,13 @@ <Button type="error" ghost disabled>Error</Button> <Button type="text" ghost disabled>Text</Button> </div> + <Divider></Divider> + <Button type="primary">普通按钮</Button> + <Button type="primary" to="/">普通按钮</Button> + <Button type="primary" size="small">普通按钮</Button> + <Button type="primary" to="/" size="small">普通按钮</Button> + <Button type="primary" size="large">普通按钮</Button> + <Button type="primary" to="/" size="large">普通按钮</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> diff --git a/src/styles/components/button.less b/src/styles/components/button.less index a2bc1249..11011498 100644 --- a/src/styles/components/button.less +++ b/src/styles/components/button.less @@ -191,12 +191,12 @@ a.@{btn-prefix-cls} { padding-top: 0.1px; - line-height: @btn-height-base - 2px; + line-height: @btn-height-base - 4px; &-large { - line-height: @btn-height-large - 2px; + line-height: @btn-height-large - 4px; } &-small { - line-height: @btn-height-small - 2px; + line-height: @btn-height-small - 4px; } }