IGNITE-8245 Fixed input appearance position with error.

Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/56e3f43e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/56e3f43e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/56e3f43e

Branch: refs/heads/ignite-7708
Commit: 56e3f43e8b31d13e3a7cc590208ffe92187ad00d
Parents: 5fd5968
Author: Dmitriy Shabalin <dshaba...@gridgain.com>
Authored: Fri Apr 13 17:55:02 2018 +0700
Committer: Andrey Novikov <anovi...@gridgain.com>
Committed: Fri Apr 13 17:55:02 2018 +0700

----------------------------------------------------------------------
 .../frontend/app/primitives/form-field/index.scss       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/56e3f43e/modules/web-console/frontend/app/primitives/form-field/index.scss
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/primitives/form-field/index.scss 
b/modules/web-console/frontend/app/primitives/form-field/index.scss
index 7d9ea1f..1035ade 100644
--- a/modules/web-console/frontend/app/primitives/form-field/index.scss
+++ b/modules/web-console/frontend/app/primitives/form-field/index.scss
@@ -240,6 +240,18 @@
                 box-shadow: none;
             }
         }
+
+        // Added right offset to appearance of input for invalid password
+        & > input[type='password'].ng-invalid.ng-touched {
+            padding-right: 36px;
+        }
+
+        // Added right offset to appearance of dropdown for invalid data
+        & > button.select-toggle.ng-invalid.ng-touched {
+            &:after {
+                right: 36px;
+            }
+        }
     }
 
     &__errors {

Reply via email to