th3jesta / ha-lcars

LCARS theme for Home Assistant
MIT License
290 stars 22 forks source link

Footer class too thick when used in Grid #34

Closed mermelmadness closed 1 year ago

mermelmadness commented 1 year ago

image Thicc Boi

type: markdown
content: '# Appliances'
theme: LCARS Default
card_mod:
  class: footer-right
csanner commented 1 year ago

if you set "square: false" what do you get?

mermelmadness commented 1 year ago

No change

th3jesta commented 1 year ago

Here's what's happening here: The markdown card, because it's in the same row as larger card, is being forced to unnaturally match the height of its larger neighbor, thus stretching it's bottom border beyond its defined 10px. I assume this happens before it takes the size of the text into account, which could explain the little bit of overhang. How to fix this? I'm not sure, and I'm not sure it can be fixed as this is farther and farther into actual Home Assistant responsive behavior vs. simple CSS styling. (wait, nothing in this theme is simple) I'll be digging into this, but don't expect a fix soon.

th3jesta commented 1 year ago

In the meantime, you could try adding a blank line above your title in the Markdown, as described in the Tips and tricks section:

##  
## Appliances

...adding or removing # to adjust the size of the blank line(s).