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

Upcoming media card CSS config #9

Open
Cassock opened this issue Sep 24, 2020 · 1 comment
Open

Upcoming media card CSS config #9

Cassock opened this issue Sep 24, 2020 · 1 comment

Comments

@Cassock
Copy link

Cassock commented Sep 24, 2020

Hey Luke! Thanks for sharing your config. I'm up and running with 1 exception - my upcoming media card has titles overlapping and falling off the screen, kinda like this:
image
Since there isn't much configured in the card, it feels like there is some CSS that's not being applied, possibly some of these entries:
https://github.com/lukevink/hass-config-lajv/blob/master/ui-lovelace.yaml#L4686
Any advice? Thanks!

@lukevink
Copy link
Owner

Tricky to help without seeing your styles - but yes I'm applying some ridiculous hacky looking custom CSS to the upcoming media card. It involves hiding all the labels and adjusting the width of each poster so its full width, etc etc:

There are now two versions of the CSS. One is as you show above, the other is just filling the whole screen with upcoming media (for when nothing at all is playing but my projector is on).

If you right click on a poster in your browser, then inspect, you can see if your styles are applying at all. If they arent applying I assume there's something wrong with your yaml. Feel free to share here and I can take a look!

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

2 participants