Skip to content

Commit e9f6a56

Browse files
author
OlgaVasyltsun
committed
MC-14985: Custom options fields have double required icons
1 parent 01fbfeb commit e9f6a56

File tree

1 file changed

+29
-0
lines changed
  • app/design/adminhtml/Magento/backend/Magento_Catalog/web/css/source

1 file changed

+29
-0
lines changed

app/design/adminhtml/Magento/backend/Magento_Catalog/web/css/source/_module.less

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,35 @@
2929
&:extend(.abs-control-qty all);
3030
}
3131
}
32+
33+
.admin__field {
34+
&.required,
35+
&._required {
36+
& > .admin__field-label {
37+
&:after {
38+
color: @validation__color;
39+
content: '*';
40+
display: inline-block;
41+
font-size: @font-size__l;
42+
font-weight: @font-weight__heavier;
43+
line-height: 1;
44+
margin-left: 10px;
45+
margin-top: .2rem;
46+
position: absolute;
47+
z-index: 1;
48+
}
49+
& .price-notice {
50+
&:after {
51+
display: none;
52+
}
53+
54+
& span:after {
55+
display: none
56+
}
57+
}
58+
}
59+
}
60+
}
3261
}
3362

3463
//

0 commit comments

Comments
 (0)