While I appreciate the design changes made in 2022.3 to have more coherent design, i do not like the changes for the shopping list card. The fields take up more space and the background color distracts from the contents.
With the help of the card-mod I was able to restore the old design as much as possible:
I also don’t like how the look & feel changed in this release. It’s especially bad for the shopping list. I posted a WTH post about it. Please vote: WTH input fields got so big & clunky this year?
@bernikr , thanks for you effort! I’m using your configuration for a small shopping list card that I would like to use on my dashboard. Is it possible to make the list more compact? There’s so much space between the items on the list…
- type: shopping-list
style:
ha-textfield:
$: |
.mdc-text-field__input {
color: black !important;
}
.mdc-text-field {
--mdc-text-field-fill-color: white;
height: auto !important;
--text-field-padding: 1px 0px;
}
.: |
ha-card {
background: white;
box-shadow: none;
height: 232px !important;
max-height: 234px; /* Set a maximum height for the card */
overflow-y: auto; /* Enable vertical scrolling if content exceeds max height */
}
:host {
--mdc-text-field-idle-line-color: black;
--mdc-text-field-hover-line-color: cyan;
--mdc-theme-primary: black;
}