diff --git a/src/common/Checkbox/styles.less b/src/common/Checkbox/styles.less index c8b39812e..22707fc2e 100644 --- a/src/common/Checkbox/styles.less +++ b/src/common/Checkbox/styles.less @@ -3,6 +3,12 @@ z-index: 0; display: inline-block; + &:global(.checked) { + .icon { + padding: 10%; + } + } + .icon { width: var(--icon-size); height: var(--icon-size); @@ -19,10 +25,4 @@ opacity: 0; z-index: -1; } - - &:global(.checked) { - .icon { - padding: 10%; - } - } } \ No newline at end of file