Fix none size not working (#55)

This commit is contained in:
Geometrically 2023-05-25 14:39:32 -07:00 committed by GitHub
parent 4243bf9ba8
commit e29a4d79ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ export default {
type: String,
default: 'sm',
validator(value) {
return ['xs', 'sm', 'md', 'lg'].includes(value)
return ['xs', 'sm', 'md', 'lg', 'none'].includes(value)
},
},
circle: {
@ -111,6 +111,10 @@ export default {
border-radius: var(--radius-lg);
}
&.size-none {
--size: unset;
}
&.circle {
border-radius: 50%;
}