Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums 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: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 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: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Run Button wordwrap

Unread post by admin »

.
Locked