When viewing the Kirby Header in a viewport < 768px the display property is switched from grid to flex, resulting in the action buttons being moved below. This makes good sence for narrow viewports (mobile) but as shown on the attached screenshot it's in some cases way to early.
Describe the solution you'd like
If you change the .container css to always have display property set to flex and add the following
Describe the enhancement
When viewing the Kirby Header in a viewport < 768px the display property is switched from grid to flex, resulting in the action buttons being moved below. This makes good sence for narrow viewports (mobile) but as shown on the attached screenshot it's in some cases way to early.
Describe the solution you'd like
If you change the
.container
css to always have display property set to flex and add the followingThen the break where action buttons are moved below happens more harmonic. Granted, details might have been overlooked.
Have you considered any alternatives?
Are there any additional context?
https://github.com/kirbydesign/designsystem/assets/263060/d6197d3b-bf12-455b-93f4-fdcdfb6d0026
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: