diff --git a/htdocs/core/tpl/login.tpl.php b/htdocs/core/tpl/login.tpl.php index 1debab7b10b2ca00405d9c3b8a645b6e20f804cc..5e79b71ee34e9d0c28bad54b7760a7dd61d36442 100644 --- a/htdocs/core/tpl/login.tpl.php +++ b/htdocs/core/tpl/login.tpl.php @@ -222,7 +222,7 @@ if (isset($conf->file->main_authentication) && preg_match('/openid/',$conf->file <?php if (! empty($_SESSION['dol_loginmesg'])) { ?> - <div class="center login_main_message" style="max-width: 520px"><div class="error"> + <div class="center login_main_message"><div class="error"> <?php echo $_SESSION['dol_loginmesg']; ?> </div></div> <?php diff --git a/htdocs/core/tpl/passwordforgotten.tpl.php b/htdocs/core/tpl/passwordforgotten.tpl.php index f6a076660d888d5305ca847d7391ac47eb8d2855..d5863281ff8e4c41d713563ea01a5c2ab3d77f43 100644 --- a/htdocs/core/tpl/passwordforgotten.tpl.php +++ b/htdocs/core/tpl/passwordforgotten.tpl.php @@ -167,7 +167,7 @@ if (! empty($hookmanager->resArray['options'])) { <br> <?php if ($message) { ?> - <div class="center login_main_message" style="max-width: 520px"> + <div class="center login_main_message"> <?php echo dol_htmloutput_mesg($message,'','',1); ?> </div> <?php } ?> diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 536801716dd9fdf0a9d24ef8c4676157ff92bba6..1179494de8c9d9f63d5148f2f9aafd26966654f0 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1031,6 +1031,12 @@ form#login { } .login_main_message { text-align: center; + max-width: 560px; + margin-bottom: 10px; +} +.login_main_message .error { + border: 1px solid #caa; + padding: 10px; } div#login_left, div#login_right { display: inline-block; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index e69d36232b2efdc87093df5f1ef02a6e09ea4696..6f76a9b4d497912794231066aac5235b141f8358 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1077,6 +1077,12 @@ form#login { } .login_main_message { text-align: center; + max-width: 560px; + margin-bottom: 10px; +} +.login_main_message .error { + border: 1px solid #caa; + padding: 10px; } div#login_left, div#login_right { display: inline-block;