From 8c9a0aeae3b7ad213aaa34d17d2c4f005f12d266 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Fri, 1 Apr 2022 14:56:12 +0300 Subject: [PATCH] fix: auth page validation error style fix --- TicketOffice/wwwroot/css/Auth.css | 13 +++++++++++-- TicketOffice/wwwroot/css/Routes.css | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/TicketOffice/wwwroot/css/Auth.css b/TicketOffice/wwwroot/css/Auth.css index 772a6c2..4151017 100644 --- a/TicketOffice/wwwroot/css/Auth.css +++ b/TicketOffice/wwwroot/css/Auth.css @@ -12,7 +12,7 @@ body { .wrapper { width: 50rem; - margin: 1.5rem auto; + margin: 2.5rem auto; padding: 3rem 0; border-radius: 0.5rem; box-shadow: 0 1px 2.4rem 0 #c3c9d0; @@ -38,7 +38,6 @@ input.field { box-shadow: 0 1px 0 0 #fff; border-radius: .3rem; padding: 0 1.1rem; - margin-bottom: 1rem; text-align: left; } @@ -60,6 +59,16 @@ input.submit-btn { cursor: pointer; } +.validation-error { + margin: 0.25rem 0 1rem 0; + color: #777a7e; + text-align: center; + width: 30rem; + display: inline-block; + justify-content: center; + line-height: 1rem; +} + .hint { margin-top: 1.5rem; color: #777a7e; diff --git a/TicketOffice/wwwroot/css/Routes.css b/TicketOffice/wwwroot/css/Routes.css index 6508ea2..aa247dc 100644 --- a/TicketOffice/wwwroot/css/Routes.css +++ b/TicketOffice/wwwroot/css/Routes.css @@ -17,7 +17,7 @@ body { .wrapper { width: 70rem; - margin: 0 auto; + margin: 2.5rem auto; } .search-block {