From 2e5bb05d5e14c254d5022d56da62aefb103f8922 Mon Sep 17 00:00:00 2001 From: leozhang2018 Date: Wed, 17 Nov 2021 15:45:24 +0800 Subject: [PATCH] Set style to error text. Signed-off-by: leozhang2018 --- custom-web/static/main.css | 7 ++++++- custom-web/templates/password.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/custom-web/static/main.css b/custom-web/static/main.css index 579eae51aa..3e05e3615a 100644 --- a/custom-web/static/main.css +++ b/custom-web/static/main.css @@ -117,10 +117,15 @@ a { } .login .login-inner-form .form-group { - margin-bottom: 25px; + margin-bottom: 15px; text-align: left; } +.login .login-inner-form .error-text { + margin-bottom: 5px; + color: #f56c6c; +} + .login .login-inner-form .input-text { width: 100%; height: 45px; diff --git a/custom-web/templates/password.html b/custom-web/templates/password.html index 418eb8ceab..8d98cd69dd 100644 --- a/custom-web/templates/password.html +++ b/custom-web/templates/password.html @@ -14,7 +14,7 @@ {{ if .Invalid }} -

{{ .UsernamePrompt }} 和密码不正确

+

{{ .UsernamePrompt }}和密码不正确

{{ end }}