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

Feature: Possibility to deactivate clock and mobile layout #33

Closed
sgofferj opened this issue Jan 10, 2023 · 9 comments
Closed

Feature: Possibility to deactivate clock and mobile layout #33

sgofferj opened this issue Jan 10, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@sgofferj
Copy link

THANK YOU for this great theme! I have been waiting forever for a really good LCARS theme!

My HA UI is organized so that every user has their own dashboard and the dashboards have multiple views. On my mobile device, the clock takes so much space that the dashboard is almost unusable.

Screenshot_20230110-104708

I would like to suggest adding an option which disables the clock either completely or when the screen is narrower than x.

@csanner
Copy link
Contributor

csanner commented Jan 11, 2023

I would LOVE to figure out how to do this.
I was looking at some CSS properties but I'm not sure how to apply them in HA -

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Conditional_Rules#:~:text=CSS%20Conditional%20Rules%20is%20a,sheet%20is%20being%20applied%20to.

@th3jesta
Copy link
Owner

I swear I posted a reply to this issue days ago, but apparently I didn't hit send.

YES! I will find a way to do this as your result and experience is unacceptable to me. The way to do this will be to hijack the existing @media queries that Home Assistant is already using to manage the layout at different resolutions, which is the standard for responsive web design. I'm just not sure how to target them with card-mod at the moment.

@th3jesta
Copy link
Owner

That said, I love your remote!

@th3jesta
Copy link
Owner

Fixed in HA-LCARS-1.8.2

@csanner
Copy link
Contributor

csanner commented Jan 12, 2023

this isn't quite resolved - I've got 1.8.3 and the clock shows up still/again in my mobile view

@csanner
Copy link
Contributor

csanner commented Jan 12, 2023

ah - it's commented out in the current release.
I uncommented both sections and it works great, but not sure which you intended to leave active

@th3jesta
Copy link
Owner

@csanner did you by chance kill and restart the app? I noticed I had to do that to get the clock to go away after the update. The commented section I think you were referring to was just something I was testing that I forgot to take out. I'd be interested in a screenshot.

@csanner
Copy link
Contributor

csanner commented Jan 13, 2023

I did.
It's working now.
Some of these behaviors are very odd.
I'm going to open an issue about the thermostat card I'm using and some other things to track them and I'll start poking at it.
Also, I've created a couple animated gifs from some YouTube videos that are fun to stick in picture cards. Not sure about the ethics or legality of distributing those...

@sgofferj
Copy link
Author

Thank you all!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants