mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-11 13:10:26 +08:00
fix(form-item): require-mark-placement right-hanging
This commit is contained in:
parent
f201f61977
commit
e2c8240012
@ -42,6 +42,7 @@ export default cB('form-item', `
|
||||
transition: color .3s var(--n-bezier);
|
||||
`),
|
||||
cE('asterisk-placeholder', `
|
||||
grid-area: mark;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
visibility: hidden;
|
||||
@ -81,6 +82,11 @@ export default cB('form-item', `
|
||||
"text mark"
|
||||
"text .";
|
||||
`),
|
||||
cM('right-hanging-mark', `
|
||||
grid-template-areas:
|
||||
"text mark"
|
||||
"text .";
|
||||
`),
|
||||
cE('text', `
|
||||
grid-area: text;
|
||||
`),
|
||||
|
Loading…
Reference in New Issue
Block a user