Roundcube Community Forum

 

Authentication form alignment nightmare

Started by northox, October 01, 2013, 07:58:37 AM

Previous topic - Next topic

northox

Hello guys, I'm the developper behind https://github.com/northox/roundcube-yubikey-plugin

I'm presently using an ugly fix (i.e. DOM manipulation using JavaScript) to make sure my 2nd factor input tag is aligned with the user/password input tags. See: https://github.com/northox/roundcube-yubikey-plugin/blob/master/yubikey.js .

I would like to know if their a cleaner way of doing this or is this something I should add as feature request?

thanks,

SKaero

You could use jQuery's .append() function for slightly cleaner code, although that wouldn't fixed the problem :P