WordPress.org

Ready to get started?Download WordPress

Forums

Two Factor Auth
[resolved] Button padding to prevent the login buttons stick together (7 posts)

  1. Honkytonky
    Member
    Posted 1 year ago #

    Oscar,

    I have just sent you a translation into Chilean spanish. Unfortunately today I learned that by updating a plugin you lose translations if they are not part of the plugin itself. In case you do not know I tell you hereby - I gave it a quick shot and did it once again!

    A quick note to let you know that for some strange reasons I always have the "Enter" button and the Login button stick together without a padding inbetween. I solve this by giving the button design in your .js an additional padding: p.style.paddingBottom = '25px';.

    I do not really know whether this is a general issue that could be made a little more beautiful. But if so it might be a good idea to style it.

    Greetz!

    http://wordpress.org/extend/plugins/two-factor-auth/

  2. oskarhane
    Member
    Plugin Author

    Posted 1 year ago #

    Can you please take a screenshot of what you mean?
    Which OS and which browser do you use?

    This is how it looks for me, in the browsers I tested: http://cl.ly/image/193V0s0E412z

    Regarding the translations, yes new ones are lost as long as they're stored within the plugin (which they are in this plugin).

    Thanks for the report!

  3. Honkytonky
    Member
    Posted 1 year ago #

    Oscar,

    I just sent you a screenshot. I use the latest version of FF on a Macbook Pro Late 2012 Generation. I cannot really say anything about any other browser because I usually use blackbox and whitelabel my OS to the max. Besides Firefox I have nothing else to test it on! Greetz!

  4. oskarhane
    Member
    Plugin Author

    Posted 1 year ago #

    Oh, I totally missed that FF didn't recognize element.style.float.
    I'll be changing that in the next release to

    otp_btn.style.styleFloat = 'none';
    otp_btn.style.cssFloat = 'none';

    That would support all browsers.
    Thanks!

  5. Honkytonky
    Member
    Posted 1 year ago #

    Oh, great, I could be of help. Wait just a little time, in 15 minutes more I will have sent you the German translation!

    Greetz!

  6. Honkytonky
    Member
    Posted 1 year ago #

    Well, what can I say? It works like a charme now! Thanks! I just sent you the German translation! Greetz!

  7. Honkytonky
    Member
    Posted 1 year ago #

    New version updated and everything is up and working. LAnguage files are steady to choose and it did not kill any of my language configs! Button problem also fixed! Thanks, Oscar! I just pushed the button :-)!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.