Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After 2024.4 header-cards moved to the last halv section of the header #11

Open
boheme61 opened this issue Apr 16, 2023 · 3 comments
Open

Comments

@boheme61
Copy link

After looking deeper into my "issue" i noticed that the "justify_content" indeed work as expected, but all the cards were "moved" to the "second half" of the header ( i've always had it "justify_c: start ) ... to the most left side of the Header.

I'll attach pic to visualize it:

It'll go back to the orig "location" when roll back the initial update ( however this is not possible anymore as i have made other changes, do to 2040.4 now)
As shown in first pic, Somehow all cards were moved( to start after mid section)

banner_card_1
header_start

@boheme61
Copy link
Author

Another View:
header_start
header

@boheme61
Copy link
Author

Still no comments regarding this behavior ?, or is it only in my "various" browsers + mobile app, or is this "justify left" totally broken ( regardless if using "justify-content: flex-start;" ) ?

@boheme61
Copy link
Author

FWIW , i made the required changes my self, not sure whether you have made these changes, or the ha-devs UI changes caused this "forced right alignment"


i changed in the .js :
justify_content||"right";
to
justify_content||"left";

AND

style.flex="0"
to
style.flex="1" (flex:grow)

As for some reason this wasn't possible to change with either card-settings nor card_mod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant