HackYourFuture-CPH / rate-my-cv

MIT License
1 stars 2 forks source link

Remove width property in component... #182

Closed valmdz closed 3 years ago

valmdz commented 3 years ago

... to allow it to scale properly when used with other components

Description

Removed the width property for the component so it takes the whole width of the container that holds it, so when used in other pages it scales properly.

Fixes # (issue)

When working on the issue #143 we realized that the width was wrong as the component was taking a width of 30% of it's container.

How to test?

Run storybook:

All the components should take the width of the screen, as shown in the picture:

Screenshot (2567)

Please provide a short summary how your changes can be tested?

Checklist

arya56 commented 3 years ago

perfect