Open panhans opened 1 year ago
Similar issue here - have applied some styles make a more compact calendar entity, ok on page load, but are lost when going to a sub view and back:
card_mod:
style:
ha-full-calendar:
$: |
#calendar {
min-height: 400px !important;
max-height: 600px !important;
}
.fc .fc-list-event {
line-height: 1.3 !important;
}
.fc .fc-list-table td, .fc .fc-list-day-cushion {
padding: 4px 7px !important;
}
My Home Assistant version: 2023.6.2
My lovelace configuration method (GUI or yaml): yaml
What I am doing: I moved the navbar to the bottom and ha-tabs gets display : flex in order to stretch the tabs to the full width. Now I have a subview that I will enter and going back to the main view.
What I expected to happen: The styling is the same as before.
What happened instead: display: flex seems to be ignored or another style gets applied.
Page refresh helps as a workaround. (hard on mobiles)
Minimal steps to reproduce:
Put this to your themes.yaml:
Create a subview, enter and leave it.
By putting an X in the boxes ([]) below, I indicate that I:
[x] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[x] Have made sure I am using the latest version of the plugin.
[x] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[x] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.