I have several ‘cards’ that are composed of a RichText component that is inside a Link component, which in turn is inside a GridPanel.
If I put several cards under each other in a LinearPanel, the vertical distance between the text in the card (richtext content) is quite large.
To solve this I first iterated over all components and set spacing above and below to None. It did not help much.
I then tried to reduce the component padding in the css theme, but with little luck. Maybe I did not find the right ones.
Anyone know how to allow the lines of text from each card to be closer?
The more general problem, I guess, is that each component has some padding and having several components inside each other can make the overall padding quite large.
Here is an app which shows the text-lines with the least vertical distance I could manage (still a bit too large!):
https://anvil.works/build#clone:XSDZ4MX6T6EZFSVF=T4M37T2IGXZHPOAL5VG6YZCY