KTibow / lovelace-light-soft-ui-theme

🎨 Home Assistant soft UI light theme, with help from @JuanMTech, @thomasloven, and @N-L1.
MIT License
59 stars 6 forks source link

card-mod making theme not aligned #6

Closed mrocha-montes closed 4 years ago

mrocha-montes commented 4 years ago

Without card-mod PrtScr capture

With card-mod PrtScr capture_2

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.80. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

KTibow commented 4 years ago

This is an intentional part of the theme. You can always modify it, but it'll get erased in any update. Here's the part that does that:

    #columns {
      flex-direction: column !important;
      margin: 0 auto;
      max-width: 500px;
    }

I applied this effect because it's shown that way in the official repo: screen

KTibow commented 4 years ago

If you use layout-card you can get around this though.

ybjlus commented 3 years ago

Hi, Where do I put the #columns { flex-direction: column !important; margin: 0 auto; max-width: 500px; }

To have it not be 1 colum

KTibow commented 3 years ago

It's already there, you need to remove it. Maybe it's here: https://github.com/KTibow/lovelace-light-soft-ui-theme/blob/6ef3e06089e30e1d0918a489951afec9694f79e6/themes/light-soft-ui.yaml#L385-L389 By the way, star the repo if you don't mind, it's how I count how many people use it.

ybjlus commented 3 years ago

It's already there, you need to remove it. Maybe it's here: https://github.com/KTibow/lovelace-light-soft-ui-theme/blob/6ef3e06089e30e1d0918a489951afec9694f79e6/themes/light-soft-ui.yaml#L385-L389

By the way, star the repo if you don't mind, it's how I count how many people use it.

Makes sense! I've got it now thnx!

And I'll star the repo