visma-meglerfront / sweet-modal-vue

The sweetest library to happen to modals.
Other
757 stars 85 forks source link

How to set the height of modal, just like the width? #85

Closed Symbolk closed 2 years ago

Symbolk commented 5 years ago

I want to wrap a component in the modal, which requires the height to be set to 50%, but I cannot find how to do it like setting the width.

BTW, one advice: the usage should also be present following the installation in README, not util I checked the end of the demo page did I realized how to use it.

eduardofinotti commented 2 years ago

Use inside div of modal:

display: flex;
flex-wrap: wrap;