kirbydesign / designsystem

Kirby Design System
https://cookbook.kirby.design
MIT License
82 stars 22 forks source link

[Enhancement] Swiper content equal height #3396

Closed troelslenda closed 4 months ago

troelslenda commented 4 months ago

Describe the enhancement

We would like to be able to let each swiper content to take up the same vertical space, to make the swiper appear more uniform.

If the content has different height, it renders like this. Screenshot 2024-02-28 at 10 39 01

We would like this behaviour:

Screenshot 2024-02-28 at 10 46 39

Describe the solution you'd like

It's not always needed but we would like to have the option to do so by setting the swiper content to a height of 100%;

Have you considered any alternatives?

Are there any additional context?


Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Refinement

Implementation

The contributor who wants to implement this issue should:

Review

Once the issue has been implemented and is ready for review: