* login: fix in login page "remember me" options gets messy in IE or Edge

This commit is contained in:
Hadi Nategh 2018-08-13 14:55:36 +02:00
parent 65a699e134
commit 5f9b16b463

View File

@ -48,5 +48,11 @@ egw_LAB.wait(function()
{ "svg": egw_webserverUrl+"/api/templates/default/images/login_facebook.svg", "url": "https://www.facebook.com/egroupware" }, { "svg": egw_webserverUrl+"/api/templates/default/images/login_facebook.svg", "url": "https://www.facebook.com/egroupware" },
{ "svg": egw_webserverUrl+"/api/templates/default/images/login_twitter.svg", "url": "https://twitter.com/egroupware" } { "svg": egw_webserverUrl+"/api/templates/default/images/login_twitter.svg", "url": "https://twitter.com/egroupware" }
]); ]);
// IE or Edge do not respect text-indent :( use padding left instead.
if (navigator && navigator.userAgent.match(/Trident|msie|edge/ig))
{
jQuery('select[name="remember_me"]').css({"padding-left": "60%"});
}
}); });
}); });