From 9fc83271a3d39f43637ac71f32893b7600dbccd7 Mon Sep 17 00:00:00 2001 From: Xc <124118265@qq.com> Date: Sat, 11 Jun 2022 12:04:28 +0800 Subject: [PATCH] style(components): [button] link button add focus-visible css (#8214) --- packages/theme-chalk/src/button.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/theme-chalk/src/button.scss b/packages/theme-chalk/src/button.scss index fb9703a1cf..b8369147a3 100644 --- a/packages/theme-chalk/src/button.scss +++ b/packages/theme-chalk/src/button.scss @@ -204,10 +204,8 @@ $button-icon-span-gap: map.merge( border-color: transparent; color: getCssVar('button', 'text-color'); background: transparent; - padding-left: 0; - padding-right: 0; - outline: 0; - outline-offset: 0; + padding: 2px; + height: auto; &:hover { color: getCssVar('button', 'hover', 'link-text-color');