Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Label aligning/positioning

Post your ideas & suggestions for new nuBuilder features or other improvements
Uzlander
Posts: 51
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 7 times
Been thanked: 2 times

Re: Label aligning/positioning

Unread post by Uzlander »

and yeah, it just fits into ContentBox as expected ))
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: Label aligning/positioning

Unread post by kev1n »

Uzlander wrote: Sat Aug 02, 2025 1:38 pm Here's some dummy workaround i'm going to use in some cases. Maybe someone else benefits from too :)

Code: Select all


Could you describe in which cases you use the "dummy workaround"? 
I also noticed another issue: the asterisks (*) indicating required fields are no longer aligned with the labels.

[attachment=0]Screenshot 2025-08-04 100136.png[/attachment]
You do not have the required permissions to view the files attached to this post.
Uzlander
Posts: 51
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 7 times
Been thanked: 2 times

Re: Label aligning/positioning

Unread post by Uzlander »

You're right, i stumpled upon it in a while. So let it be a workaround x 2 then, some css in the form:
Uzlander
Posts: 51
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 7 times
Been thanked: 2 times

Re: Label aligning/positioning

Unread post by Uzlander »

Code: Select all

label.nuBlank::after, label.nuDuplicateOrBlank::after { content: none; } 

label.nuBlank::before, label.nuDuplicateOrBlank::before { 
    content: "*";
    color: #e53600;
    margin-right: 6px;
}

label:not(.nuDuplicateOrBlank, .nuBlank)::before {
    content: " ";
    margin-right: 10px;
}


//
Last edited by Uzlander on Wed Aug 06, 2025 12:34 pm, edited 1 time in total.
Uzlander
Posts: 51
Joined: Sat Jul 08, 2023 10:21 am
Has thanked: 7 times
Been thanked: 2 times

Re: Label aligning/positioning

Unread post by Uzlander »

screenshot
You do not have the required permissions to view the files attached to this post.
Post Reply