mini-climate-card icon indicating copy to clipboard operation
mini-climate-card copied to clipboard

CSS improvement for hidden secondary_info

Open ThomDietrich opened this issue 1 year ago • 1 comments

Hey guys. I'm, using the new option to hide the secondary_info, introduced in #95.

  - type: custom:mini-climate
    entity: climate.room
    hide_current_temperature: true
    toggle:
      hide: true
    secondary_info:
      hide: false

image

As you can see, the remaining primary text is still aligned to the top. It would be desired to align it center, in line with the icons and temperatures.

This is far beyond my CSS capabilities. Hoping for an CSS expert to jump in! Thanks!!

ThomDietrich avatar Sep 28 '22 08:09 ThomDietrich

try this:

card_mod:
  style: | 
    .entity__info__name {
      padding-top: 18%;
    }

Screenshot_10

DaN66O avatar May 05 '23 16:05 DaN66O