Overview Stats Widget Responsive
Did anyone know how to achieve this? I need to render 2 Stat Cards in 2/3 and 1/3 column composition. I haven't been able to get it so far.. open to ideas.
Thanks in advance.
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151507943343272048/Captura_de_pantalla_2023-09-13_a_las_15.15.27.png)
11 Replies
Like that ?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151510124238737488/image.png)
no, in a 3 columns array they shoul be 2/3 and 1/3
That ?
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151511738949312523/image.png)
I'm not sure what you mean
ahha that's 1/3, 1/3, 1/3, What i need is one card to have 2/3 and the other one just 1/3
I dont even know if that is possible
ahhhh ok i understand sorry
i don't think that's possible without making a custom widget
I have been playing with columnSpan and getColumns() but i cant manage to get it right the way i need it
My thoghts exactly... thanks anyhow both π
OK i have @hurruwa
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1151514765059964958/image.png)
Add a tailwind class with
->extraAttributes(['class' => 'md:col-span-2'])
: @hurruwa
Thanks a lot