Closed 3VAbdAVE closed 1 year ago
Yikes, that's a tight layout. So, the way the CSS is constructed, word-wrapping is going to be a major headache and probably won't produce useable results. I have two recommendations, easiest first:
Hi, thanks for the support. I did end up just shortening the text, works ok. My goal is to have this as a console on an old phone in landscape mode with as little scrolling as possible, so tightening up spacing and reducing text size would be preferable. I'm pretty close.
Don't suppose there's a way to reduce the vertical height of the buttons?
I was able to make the buttons shorter by adding the max-height: 40px;
property to the ha-card.button-bullet
and reducing the min-height
property to <= max-height
.
Thanks, I think that got me just about where I need to be, and I can just clean up the colors and layout and it'll do exactly what I want.
Wow! That looks great! Feel free to show that off in the Discord, if you feel so inclined. Also, I need to check into that weird radius on the bottom left of the Spotify card. Have you done anything with that, or is it my code?
That's the standard Media Player card (type: media-control), no changes to it.
Great theme, appreciate the instructions for custom colors. I've a problem with overflowing text on buttons. I tried adding a "word-wrap: break-word;" property to the classes, but it didn't have an effect. Also tried it in a card_mod style, but it appears to be beyond my CSS knowledge.