Logbook in a Panel mode:
Consider a Logbook card in a view on a Panel mode:
type: logbook
hours_to_show: 168
entities:
- sun.sun
Although the card occupies the whole view, the logbook itself occupies just a half of the available area:
1920x1200 desktop, Chrome, Win10:
iPhone 12:
It happens due to this style:
There is a Frontend issue about this.
A possible solution:
type: logbook
hours_to_show: 168
entities:
- sun.sun
card_mod:
style: |
ha-logbook {
height: calc(100vh - var(--header-height) - 32px) !important;
}
Update: should not be needed after this PR.