I am unsure why you’re seeing that selector called “.component_undefined_field_359”, but maybe you can try adding “> a” and using this CSS code:
.component_undefined_field_359 > af-data-table-field:nth-child(1) > span > p > a {
display: block;
padding: 10px 0; /* Adjust the padding value as needed */
}
It’s not simple to do this without access to your page. If it’s a public page, feel free to message me with a link and I can try and guide better if this code doesn’t work.
apologies for you spending time on this lower level issue…
The page is public at the moment: https://app.phytotherapydeskreference.com/indications
Click on Acne to view an example.
You already have access via Sharing.
I added the component because without it, the changes affected the other fields on that page.
thank you!
#field_block_field_359 > div.component_undefined_field_359 > af-data-table-field a {
display: block;
padding: 0px 0; /* Adjust the padding value as needed */
}
You may also want to show that it’s a link, so tweak to this:
#field_block_field_359 > div.component_undefined_field_359 > af-data-table-field a {
display: block;
padding: 0px 0; /* Adjust the padding value as needed */
text-decoration: underline;
transition: all 0.3s ease; /* Just for fun */
text-decoration-style: dashed;
}
Can’t see the overflow issue on my screen (Firefox) but thank you!
I added your code and it is great.
I can see how you added the div. before the component.
But I would never have worked out adding the field block.
I have to study this more…
Is this common knowledge for someone who are well trained in CSS?
To help me in the future, what sort of person (training) do I need to look for to help me?
I can often work out the minor things, but as my app grows, I think I need additional help.
thank you!
Michael