Compact header#7369
Conversation
|
ITS FINALLY HAPPENING 🎉 🎉 🎉 🎉 |
|
How will this work when the user has more tabs that fit the view? If you have found a solution for that that works, there would no need to be an option and we can always do it. |
|
My previous PR added adjustments to paper-tabs in order to make scrolling work in such a way that the scroll buttons no longer take up extra space. So the tabs would fill the space between the buttons and still be scrollable without extra padding given to a hidden scroll arrow. |
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This comment has been minimized.
This comment has been minimized.
|
@maykar will this make the header by default compact on all views from all devices? Or will it just now allow it to be adjusted via themes but default to non-compact style? |
It will compact all Lovelace headers |
This comment has been minimized.
This comment has been minimized.
|
Please don't react to closed PR's |
Proposed change
This compacts the header to combine both buttons and tabs. Additionally, this modifies views so their backgrounds extend behind the header in Lovelace. When using a transparent color or image for the header background the view's background will now show underneath.
Type of change
Additional information
@ 320px wide
Checklist
If user exposed functionality or configuration variables are added/changed: