Skip to content

Commit 335c91c

Browse files
Merge forwardport of #13025 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/13025.patch (created by @pradeep-wagento) based on commit(s): 1. b3c0a3f Fixed GitHub Issues in 2.3-develop branch: - #12430: While assigning prices to configurable products, prices aren's readable when using custom price symbol. (reported by @quisse)
2 parents bf8ee30 + 656eeb5 commit 335c91c

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
@@ -19,10 +19,29 @@
1919

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

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

2746
&:focus {
2847
+ .currency-symbol {
@@ -31,18 +50,29 @@
3150
}
3251
}
3352

53+
label.error {
54+
position: absolute;
55+
left: 0;
56+
top: 33px;
57+
}
58+
3459
.currency-symbol {
3560
border: solid @currency-addon-symbol__border-color;
36-
border-width: 0 0 0 1px;
61+
border-width: 0;
3762
box-sizing: border-box;
3863
color: @currency-addon-symbol__color;
3964
height: @currency-addon-symbol__height;
40-
left: 0;
4165
padding: 7px 0 0 @indent__xs;
42-
position: absolute;
43-
top: 0;
66+
position: static;
4467
transition: @smooth__border-color;
45-
width: @currency-addon-symbol__width;
68+
-webkit-flex-basis: auto;
69+
flex-basis: auto;
70+
-webkit-flex-grow: 0;
71+
flex-grow: 0;
72+
-webkit-flex-shrink: 0;
73+
flex-shrink: 0;
74+
z-index: 1;
75+
order: 0;
4676
}
4777

4878
._error & {

0 commit comments

Comments
 (0)