From d0133191ecb60204376ab347c452c320328c3349 Mon Sep 17 00:00:00 2001 From: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:03:33 +0800 Subject: [PATCH] fix: link button style (#36) --- src/button/button.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/button/button.css b/src/button/button.css index 67091e2..c38eaa0 100644 --- a/src/button/button.css +++ b/src/button/button.css @@ -20,12 +20,12 @@ transition: all 0.3s; } -.thaw-button--disabled:not(.thaw-button--text) { +.thaw-button--disabled:not(.thaw-button--text, .thaw-button--link) { border-color: var(--thaw-border-color-disabled); background-color: var(--thaw-background-color-disabled); } -.thaw-button--disabled { +.thaw-button.thaw-button--disabled { color: var(--thaw-font-color-disabled); cursor: not-allowed; } @@ -46,6 +46,8 @@ } .thaw-button--link { + background-color: transparent; + color: inherit; height: auto; padding: inherit; }