Skip to content

Commit fe12897

Browse files
🔃 [EngCom] Public Pull Requests - 2.1-develop
Accepted Public Pull Requests: - #14902: [Backport] Prices aren't readable when using custom price symbol (by @rogyar) Fixed GitHub Issues: - #12430: While assigning prices to configurable products, prices aren's readable when using custom price symbol. (reported by @quisse) has been fixed in #14902 by @rogyar in 2.1-develop branch Related commits: 1. 5c58595
2 parents 14beb38 + 50b4655 commit fe12897

File tree

1 file changed

+37
-7
lines changed
  • app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components

1 file changed

+37
-7
lines changed

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,29 @@
1818

1919
.currency-addon {
2020
position: relative;
21+
border: 1px solid #adadad;
22+
display: -webkit-inline-flex;
23+
display: -ms-inline-flexbox;
24+
-webkit-flex-direction: row;
25+
-ms-flex-direction: row;
26+
flex-direction: row;
27+
display: inline-flex;
28+
flex-flow: row nowrap;
29+
width: 100%;
2130

2231
.admin__control-text {
23-
border-width: 1px 1px 1px 0;
24-
padding-left: @currency-addon-symbol__width + .2;
32+
appearence: none;
33+
-webkit-flex-grow: 1;
34+
flex-grow: 1;
35+
-ms-flex-order: 1;
36+
-webkit-order: 1;
37+
order: 1;
38+
-webkit-flex-shrink: 1;
39+
flex-shrink: 1;
40+
background-color: transparent;
41+
border-color: transparent;
42+
box-shadow: none;
43+
vertical-align: top;
2544

2645
&:focus {
2746
+ .currency-symbol {
@@ -30,18 +49,29 @@
3049
}
3150
}
3251

52+
label.error {
53+
position: absolute;
54+
left: 0;
55+
top: 33px;
56+
}
57+
3358
.currency-symbol {
3459
border: solid @currency-addon-symbol__border-color;
35-
border-width: 0 0 0 1px;
60+
border-width: 0;
3661
box-sizing: border-box;
3762
color: @currency-addon-symbol__color;
3863
height: @currency-addon-symbol__height;
39-
left: 0;
4064
padding: 7px 0 0 @indent__xs;
41-
position: absolute;
42-
top: 0;
4365
transition: @smooth__border-color;
44-
width: @currency-addon-symbol__width;
66+
position: static;
67+
-webkit-flex-basis: auto;
68+
flex-basis: auto;
69+
-webkit-flex-grow: 0;
70+
flex-grow: 0;
71+
-webkit-flex-shrink: 0;
72+
flex-shrink: 0;
73+
z-index: 1;
74+
order: 0;
4575
}
4676

4777
._error & {

0 commit comments

Comments
 (0)