Closed Okewusi closed 1 year ago
Here is what I see - with red arrows showing where the space should be reduced.
So If I go into the "Controls" section at the bottom of storybook, and go to the IconBoxes section and enter extra data for iconBoxes[0].subject and iconBoxes[0].description I get this:
The code worked for the data that was provided, however to build reusable react components that adapt to the input (which in the real environment is coming from a database) it's going to needs a different strategy.
Please don't be discouraged! I suggest it might take something like display: flex
both for the div containing the icon boxes, and for the iconBoxes. But I am new to using flex.
Want to talk it through sometime?
The change does make all the boxed of equal size, it imposes more whitespace (well purple space in this case) into the left most box than was there previously. Can you find a way to minimize the whitespace?