ElkArte Community

Title: Registration Buttons Wider than registration box when age limit set.
Post by: scripple on March 26, 2014, 11:54:18 am
On the registration screen if you have an age limit set (and just reject their registration if they're under the age limit - only mode I tested) the buttons at the bottom are very long and on mobile wider than the box containing the agreement.  Adding a white-space:normal fixes it by allowing the very long text to wrap into the box.  Maybe add it inline to those two buttons as the classes set on them I think are used many other places.
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on March 26, 2014, 03:42:56 pm
TBH I have no idea how to wrap a button text... :-[
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: scripple on March 26, 2014, 04:00:55 pm
white-space:normal worked for me in firefox when I set it on that element in firebug.  I didn't check if it was browser specific.
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on March 26, 2014, 05:11:54 pm
Oh...
/me blames the old version of Opera he is using...
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: Antechinus on March 26, 2014, 11:37:54 pm
Or you could just throw a line break in with the extra text, if that'd work. Probably better than inline CSS.

Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on April 15, 2014, 05:54:43 pm
Bump as reminder.
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on April 19, 2014, 06:18:36 pm
https://github.com/emanuele45/Dialogo/commit/fc8f8ca7ca5e75445e9bded835dd62ec197cb61e
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on June 07, 2014, 08:31:40 am
Still a bit broken, the text goes to the new line, but the button doesn't become taller and the second line it cut.
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on December 05, 2014, 06:16:30 am
I don't remember if this was fixed completely or if it is still a bit broken.
To check.
Title: Re: Registration Buttons Wider than registration box when age limit set.
Post by: emanuele on February 04, 2015, 04:51:12 pm
I just added another tiny bit of css for this one, but it basically works.