From e6df000e0a1d0366c3a1704289b19bb53f033f99 Mon Sep 17 00:00:00 2001 From: rickcole Date: Tue, 12 May 2020 20:03:23 +0800 Subject: [PATCH] =?UTF-8?q?tabs=E7=A6=81=E7=94=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/components/_tabs.scss | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/scss/components/_tabs.scss b/scss/components/_tabs.scss index 1924bfc0..a2f20625 100644 --- a/scss/components/_tabs.scss +++ b/scss/components/_tabs.scss @@ -48,12 +48,16 @@ text-decoration: none; } - &.disabled > a:first-child, - &.is-disabled > a:first-child { - color: $Tabs-onDisabled-color; - background-color: transparent; - border-color: transparent; - pointer-events: none; + &.disabled, + &.is-disabled { + cursor: not-allowed; + + > a:first-child { + color: $Tabs-onDisabled-color; + background-color: transparent; + border-color: transparent; + pointer-events: none; + } } &.active > a:first-child,