You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the header cards to hide themselves when there is not enough vertical room to show them. Unfortunately instead they shrink the menu tabs so that they are not visible. Is there any way to have a configuration option that gives preference to the view tabs in constrained situations.
The text was updated successfully, but these errors were encountered:
I found a way to circumvent this behaviour.
Take a look at the State-Switch and Blank Cards.
In this example I used the browser width to determine if header cards should be shown:
header_cards:
cards:
- type: custom:state-switch
entity: mediaquery
states:
'(min-width: 1500px)':
type: markdown
content: "Test"
all:
type: custom:blank-card #Blank-Card because you need to define a type
You could also use Browser Mod to decide on a device basis.
I would like the header cards to hide themselves when there is not enough vertical room to show them. Unfortunately instead they shrink the menu tabs so that they are not visible. Is there any way to have a configuration option that gives preference to the view tabs in constrained situations.
The text was updated successfully, but these errors were encountered: