From 5fd238d8b55827683d87c3ade5f461a7cbfce1e6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 22 Oct 2023 15:57:14 +0800 Subject: [PATCH] fix: checkboxPrefixCls less var naming --- assets/index.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/index.less b/assets/index.less index a53c492..8d97337 100644 --- a/assets/index.less +++ b/assets/index.less @@ -1,8 +1,8 @@ -@checkboxWarpPrefixCls: rc-checkbox; -@checkboxInnerPrefixCls: ~"@{checkboxWarpPrefixCls}-inner"; +@checkboxPrefixCls: rc-checkbox; +@checkboxInnerPrefixCls: ~"@{checkboxPrefixCls}-inner"; /* Default state */ -.@{checkboxWarpPrefixCls} { +.@{checkboxPrefixCls} { white-space: nowrap; cursor: pointer; outline: none; @@ -62,7 +62,7 @@ } /* Checked state */ -.@{checkboxWarpPrefixCls}-checked { +.@{checkboxPrefixCls}-checked { &:hover { .@{checkboxInnerPrefixCls} { @@ -97,9 +97,9 @@ } } -.@{checkboxWarpPrefixCls}-disabled { +.@{checkboxPrefixCls}-disabled { - &.@{checkboxWarpPrefixCls}-checked { + &.@{checkboxPrefixCls}-checked { &:hover { .@{checkboxInnerPrefixCls} {