mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
fix(checkbox): padding with empty label
This commit is contained in:
parent
94f645a772
commit
da86d5b388
@ -83,7 +83,11 @@ export default c([
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
`
|
`
|
||||||
}),
|
}, [
|
||||||
|
c('&:empty', {
|
||||||
|
display: 'none'
|
||||||
|
})
|
||||||
|
]),
|
||||||
cM('checked', [
|
cM('checked', [
|
||||||
cB('checkbox-box', [
|
cB('checkbox-box', [
|
||||||
cB('checkbox-icon', [
|
cB('checkbox-icon', [
|
||||||
|
Loading…
Reference in New Issue
Block a user