From 65f915c660127a28f6fca4ecc7a32b8133828b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Thu, 12 Sep 2019 15:34:34 +0800 Subject: [PATCH] update Button style --- examples/routers/button.vue | 6 +++++- src/styles/components/button.less | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/examples/routers/button.vue b/examples/routers/button.vue index daa46588..9490072b 100644 --- a/examples/routers/button.vue +++ b/examples/routers/button.vue @@ -79,10 +79,14 @@


- + +
+ + +
diff --git a/src/styles/components/button.less b/src/styles/components/button.less index 93b6da9b..a2bc1249 100644 --- a/src/styles/components/button.less +++ b/src/styles/components/button.less @@ -188,3 +188,15 @@ color: fade(#000, 25%); } } + +a.@{btn-prefix-cls} { + padding-top: 0.1px; + line-height: @btn-height-base - 2px; + + &-large { + line-height: @btn-height-large - 2px; + } + &-small { + line-height: @btn-height-small - 2px; + } +}