diff --git a/server/frontend/auth/login.js b/server/frontend/auth/login.js index 9f2ac9d..e7e228e 100644 --- a/server/frontend/auth/login.js +++ b/server/frontend/auth/login.js @@ -34,7 +34,7 @@ document.addEventListener('DOMContentLoaded', () => { } } } catch (err) { - showError(['Connection error: ' + err.message]); + showError(['Connection error :(']); } }); }); @@ -45,13 +45,13 @@ function showError(messages) { errorElem = document.createElement('div'); errorElem.id = 'formError'; errorElem.style.cssText = ` - color: red; - margin-top: 20px; - margin-bottom: 20px; - font-size: 14px; - font-weight: 100; - line-height: 120%; - transition: 3s; + color: red; + font-size: medium; + line-height: 100%; + transition: 3s; + text-decoration: underline; + font-weight: bold; + font-family: Arial, sans-serif; `; document.getElementById('loginForm').insertAdjacentElement('afterend', errorElem); }