mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 03:08:21 +08:00
fix(theme-chalk): [el-form] no display red asterisk when width is auto (#3222)
fix #3221
This commit is contained in:
parent
80ccfef93c
commit
e4032821a8
@ -133,7 +133,9 @@
|
||||
|
||||
@include when(required) {
|
||||
@include pseudo('not(.is-no-asterisk)') {
|
||||
& > .#{$namespace}-form-item__label:before {
|
||||
& > .#{$namespace}-form-item__label:before,
|
||||
& > .#{$namespace}-form-item__label-wrap > .#{$namespace}-form-item__label:before
|
||||
{
|
||||
content: '*';
|
||||
color: var(--el-color-danger);
|
||||
margin-right: 4px;
|
||||
|
Loading…
Reference in New Issue
Block a user