Welcome to the nuBuilder Forums!

Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.

Run Button wordwrap

Questions related to using nuBuilder Forte.
Locked
stevedb
Posts: 21
Joined: Tue Oct 16, 2018 12:21 am

Run Button wordwrap

Unread post by stevedb »

Hi,
What's the best way to make the text on all Run Button objects wrap?
I see the css file has wordwrap and this works if I add it on each form, but I want this applied across my whole nuBuilder instance.
Putting $(':button').addClass('wordwrap'); in the header does not work.
Steve
kev1n
nuBuilder Team
Posts: 4581
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 536 times
Contact:

Re: Run Button wordwrap

Unread post by kev1n »

In the header, add this style (login again after you have added the code)

Code: Select all

<style>
.nuButton, .input_button {
    white-space: normal;
}
</style>
stevedb
Posts: 21
Joined: Tue Oct 16, 2018 12:21 am

Re: Run Button wordwrap

Unread post by stevedb »

Awesome!
Thanks kev1n
admin
Site Admin
Posts: 2829
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 30 times

Re: Run Button wordwrap

Unread post by admin »

.
Locked