Author Topic: Authentication form alignment nightmare  (Read 2157 times)

Offline northox

  • Newbie
  • *
  • Posts: 3
Authentication form alignment nightmare
« on: October 01, 2013, 07:58:37 AM »
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,

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,506
    • http://SKaero.com/
Re: Authentication form alignment nightmare
« Reply #1 on: October 01, 2013, 10:48:35 AM »
You could use jQuery's .append() function for slightly cleaner code, although that wouldn't fixed the problem :P