Currently, I am working on creating a dashboard using Bootstrap 4 in combination with Angular 5. However, I have encountered an issue that I can't seem to solve:
Imagine having the following layout on a desktop screen. The code snippet below is a simplified version for better readability. Each card contains additional div elements like card-title and is embedded within Angular components.
You may notice that the two columns are neatly aligned next to the 'larger' card when viewed on a desktop (refer to 'Full page'). But when accessed on mobile devices or portrait tablets, 'card2' and 'card3' are stacked one on top of each other instead of being placed side by side.
I thought about creating a separate view specifically for mobile devices, but I believe there must be a simpler way to handle this without duplicating any code. Unfortunately, I'm unsure of how to achieve this!
If anyone has a cleaner solution for this problem, please share your insights. I've also attempted placing the cards in their own rows on the right side, but it resulted in similar behavior.