Closed kaizersoje closed 3 years ago
Help should go in the card-mod forums. Anyway, here's how:
card_mod:
style:
.: |
.mmp-player {
padding: 7px !important;
}
.mmp-player__adds {
margin-left: calc(var(--mmp-unit) * 0.2) !important;
}
mmp-shortcuts$ mmp-dropdown$: |
paper-item {
line-height: 20px !important;
min-height: 30px !important;
}
.mmp-dropdown__item__label {
font-size: 11pt !important;
color: Silver !important;
}
I'm pretty sure for some reason @thomasloven removed this from the docs.
Help should go in the card-mod forums. Anyway, here's how:
card_mod: style: .: | .mmp-player { padding: 7px !important; } .mmp-player__adds { margin-left: calc(var(--mmp-unit) * 0.2) !important; } mmp-shortcuts$ mmp-dropdown$: | paper-item { line-height: 20px !important; min-height: 30px !important; } .mmp-dropdown__item__label { font-size: 11pt !important; color: Silver !important; }
I'm pretty sure for some reason @thomasloven removed this from the docs.
Yay!! That worked. I wonder why it was removed from the docs, if it was present previously. Thx @KTibow :)
My Home Assistant version: 2021.3.4
My lovelace configuration method (GUI or yaml): YAML
What I am doing: I am trying to mod the buttons and dropdown in the shortcuts section of a
custom:mini-media-player
card. I am able to mod the buttons and dropdown values separately but not together.What I expected to happen: I expect the buttons and dropdown values to get modded simultaneously.
What happened instead:
Minimal steps to reproduce: I have pasted the code above.
Error messages from the browser console:
By putting an X in the boxes ([]) below, I indicate that I:
[x] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[x] Have made sure I am using the latest version of the plugin.
[x] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[x] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.