kirbydesign / designsystem

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

[Enhancement] Kirby Header: allow more horizontal space for page title and sub #3428

Closed simonequach closed 4 months ago

simonequach commented 6 months ago

Describe the enhancement

A simple Kirby Header, which only consist of a Title and subtitles, currently cuts off customers or page name due to the fact that they are only allowed to fill half the slot of the component, as the rest is "saved" for potentiel action buttons, which are not present on all pages.

This is a huge UI issue on Desktop, as we are seeing page titles and customer names either being cut off or broken down into several lines, pushing the content further down the page. Despite the fact that there are plenty of room on the righthand side of the page. Making it look unprofessional.

Describe the solution you'd like

If there are no actions or items in the later part of the component. It is expected that Title and subtitle are allowed to fill out the entire space of the component.

On desktop:

Have you considered any alternatives?

No.

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:

henrikvoetmand commented 4 months ago

Image