https://avo.cool logo
Hey. I have a question regarding Cards (in Dash...
# avo-3
m
Hey. I have a question regarding Cards (in Dashboard). According to [docs](https://docs.avohq.io/3.0/cards.html#cards) I can set 1-6 colspan on cards: > Each card has its own cols and rows settings to control the width and height of the card inside the parent's grid. They can have values from 1 to 6. However basically ony 1–3 makes sense. Everything above (4, 5, 6) equals 3 cols ans the parent grid is set to
sm:grid-cols-3
anyway. Is this by design? Why have values from 1–6 and not 1–3? I'm asking because I wanted to have 4 cards in a row but this doesn't seem to be possible out of the box. https://cdn.discordapp.com/attachments/1138182212655788054/1510945934500954132/image.png?ex=6a1ea98e&is=6a1d580e&hm=bafac93c02668058cd6b6abd1c753e316de637bf5f0e9c68a90907b8a6074a30&
m
Thread automatically created by konradm in #1138182212655788054
m
And if I set one card to 6 cols I get t his funny behaviour. It doesn't break but kinda ugly behaviour as it doesn't make sense.
col-span-6
can't apply on a
grid-cols-3
grid. https://cdn.discordapp.com/attachments/1510945934165676093/1510946252857278587/image.png?ex=6a1ea9da&is=6a1d585a&hm=0a61c11cf5e68c40ce6c69ea24cfdc3ee7bbb1d88fd49f7b8e4169a30e7438ff&
l
hmmm. I see
have you tried to set the cols on the dashboard?
self.grid_cols = 3
https://docs.avohq.io/3.0/dashboards.html
if not, I would ask an LLM to recreate and override the css breaking column behavior
2 Views