From b3c0a3f3cc6d3e2fcf944bffa41735a1a97fb3d9 Mon Sep 17 00:00:00 2001
From: Pradeep <pradeep@wagento.com>
Date: Thu, 4 Jan 2018 12:58:52 +0530
Subject: [PATCH] fixed issue prices aren't readable when using custom price
 symbol

---
 .../module/components/_currency-addon.less    | 45 ++++++++++++++++---
 1 file changed, 38 insertions(+), 7 deletions(-)

diff --git a/app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less b/app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less
index 1e5d03d6f25..df184f0f232 100644
--- a/app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less
+++ b/app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/_currency-addon.less
@@ -19,10 +19,30 @@
 
 .currency-addon {
     position: relative;
+    border: 1px solid #adadad;
+    display: -webkit-inline-flex;
+    display: -ms-inline-flexbox;
+    -webkit-flex-direction: row;
+    -ms-flex-direction: row;
+    flex-direction: row;
+    display: inline-flex;
+    flex-flow: row nowrap;
+    width: 100%;
+    position: relative;
 
     .admin__control-text {
-        border-width: 1px 1px 1px 0;
-        padding-left: @currency-addon-symbol__width + .2;
+        appearence: none;
+        -webkit-flex-grow: 1;
+        flex-grow: 1;
+        -ms-flex-order: 1;
+        -webkit-order: 1;
+        order: 1;
+        -webkit-flex-shrink: 1;
+        flex-shrink: 1;
+        background-color: transparent;
+        border-color: transparent;
+        box-shadow: none;
+        vertical-align: top;
 
         &:focus {
             + .currency-symbol {
@@ -31,18 +51,29 @@
         }
     }
 
+    label.error {
+        position: absolute;
+        left: 0;
+        top: 33px;
+    }
+
     .currency-symbol {
         border: solid @currency-addon-symbol__border-color;
-        border-width: 0 0 0 1px;
+        border-width: 0;
         box-sizing: border-box;
         color: @currency-addon-symbol__color;
         height: @currency-addon-symbol__height;
-        left: 0;
         padding: 7px 0 0 @indent__xs;
-        position: absolute;
-        top: 0;
+        position: static;
         transition: @smooth__border-color;
-        width: @currency-addon-symbol__width;
+        -webkit-flex-basis: auto;
+        flex-basis: auto;
+        -webkit-flex-grow: 0;
+        flex-grow: 0;
+        -webkit-flex-shrink: 0;
+        flex-shrink: 0;
+        z-index: 1;
+        order: 0;
     }
 
     ._error & {
-- 
GitLab