@Ildar_Gabdullin “overflow: visible” doesn’t fix the problem, unfortunately. I think it seems to be related to the fact that the card is at the bottom of the view and it is small, so the dropbox needs to open up instead of down and gets cut by the upper view…, it’s very bad.
The following image shows the problem with the views next to it:
I don’t know whether the stack-in-card will help? I haven’t use it yet. It seems to be a card for many items?
For the 2nd question, the dropdown needs to show the selected item and if the user changes the item, the select entity needs to be updated with that item. So in my case, the user needs to change the time using the dropbox…
Since you have not posted a code - people have to guess here. But - please - do not post the whole code, post only a minimal snippet where you are facing a problem with overflowing (which cannot be fixed with my “overflow: visible” code).
Hard to believe - but this is exactly the way how every “input_select” works).
User selects a value → the state of the “input_select” is updated to the selected value.
I saw only that code you posted - and this is not a code of the whole card, just a code for “tap_action”.
As well as this new code - this is a part related to a “srtrelatslct” custom field inside some unknown button-card.
And this part contains the misplaced “styles” part from my example.
And since this part is misplaced - you are getting a wrong result.
I would suggest to test with simple cards and proceed with complex cases step by step.
You’re right, the code was misplaced, thanks for the tip!
Now I managed to hide some items, but I would like to reduce the space between the options. What is the property I need to change?
OK. For the 2nd question, what I mean is whether there is a card that does exactly what the standard dropdown does, but with easier to configure styles?
The sidebar includes info such as cheapest petrol in the area, what meal is on the planner tonight, etc.
In my sensor template I’ve set up anchor tags eg <a href="/lovelace/recipe">Latest Recipe</a> in order to add contextual information.
The config is all in place, I’ve set up all the anchors - I just can’t get them to work on the front end. I’ve the card set to tap action: none, and I can’t have the tap action just do one thing because there are a number of these contextual links.
I can see that css is set to disable pointer events, but when I turn them back on I can see the ripple effect but the links dont actually do anything.
Has anyone had luck getting anchor tags to work in a custom button card?
Is it possible to integrate a kind of slider in this button card that enables brightness control of the lamp? It does not necessarily have to be a slider. As long as the brightness can be regulated and visualized, I am very open to creative ideas. (I was thinking of slightly graying out the card every 10% difference in brightness for visualization purposes. Since the color of the card adapts to the lamp color, this must be retained. The size of the card must also remain the same and cannot change, as it is precisely fitted to the layout of my dashboard
PS: In principle, I would prefer to implement it as in the slider button card by mattieha, without changing my card design
Thanks, but as I already mentioned, unfortunately that doesn’t work because the slider button card changes my design too much. Unfortunately, since I’m currently creating a dashboard based on colors, this isn’t a solution for me. unless there is a way to just insert the slider into the existing button card.