how to Align left a element in a repeteable group.

javier94

Member
after saved a form.. where i have some repeteable groups as a table view.. i see this..

fabrikar-1.PNG And before saving.. i see that

fabrikar-2.PNG
As you can see the descripcion element.. before saving is in the same position.. after saving.. depending of how much text is inside.. start in one place or other..

Is possible to see after saving, similar position than before Saving...????

i can not see how..

i went to the repeteable group, and try changing label to the left.. but nothing happen..

Any suggestion?

thanks in advance!!

Javier
 
Before/after saving: It seems you are showing a form view and a details view, and you have multiple repeat groups each set to "Template"=table.

Template= table creates HTML tables (one for each group), the labels are in the table header, so not Left/Above etc.
Use your browser console to inspect (it may depend on your Joomla template what is set for table display), set custom CSS for your tables, e.g. something like
.repeatGroupTable {table-layout:fixed;}
 
ok..
i have try as you say..
we are closer.

using..
.repeatGroupTable {table-layout:fixed;}

Before Saving / after saving, the distance is almost the same..

view before saving
fabrikar-4.PNG

view after saving

upload_2021-1-30_10-38-47.png

Maybe is a little bigger the distance after saving..

but would be possible align closer as much possible to Nº to the left.. ???

IF i try using, something like
.repeatGroupTable {table-layout:left;}

view is similar.. to first post.. before saving -->closer to the left, after saving -->in the middel depending of the content of element

maybe table layout would be other not only left..

Any suggestion?

Thanks in advance!

Javier
 
Inspect the "th" element of your repeat table's first column and add css, something like this:

.fabrikRepeatGroup___yourtable_xx_repeat___element_name {
width:10%;
}

... or add the fixed width in pixels.
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top