-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Hi! I'm working on this css-exercise from the Odin Project: https://github.com/TheOdinProject/css-exercises/tree/main/flex/07-flex-layout-2 I've basically got the broad strokes in the layout put together. I'm also aware that I need to use flex-wrap to bring the flex items onto the next rows and also know how to finish this up. My question is about something weird I've noticed in the process. **Code Used** codepen.io/Ashwin-Parcha/pen/JjxxJJq **Problem** I've set a width on the cards (.card) that is too wide on purpose at 400px. These cards have default flex values of 0 1 auto. From my understanding, when the flex-basis is auto, the width is considered, but if the total width of the flex items is bigger than the parent, then the width isn't respected and the items will shrink to fit the container. But as you can see, the width **IS** being respected here for some reason. **Expected Outcome** The width shouldn't be respected and cards should shrink. Thanks for your help!