mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +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 when(required) {
|
||||||
@include pseudo('not(.is-no-asterisk)') {
|
@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: '*';
|
content: '*';
|
||||||
color: var(--el-color-danger);
|
color: var(--el-color-danger);
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
|
Loading…
Reference in New Issue
Block a user