Closed president75 closed 3 months ago
Hi! I’ve just tested it, and it doesn’t work with font-size
indeed, but it works this way:
styles: |
* {
--mdc-icon-size: 10px;
align-items: center;
}
Additionally, in your YAML, you are not using Card-mod but the default Bubble Card custom styles. Keep it like this because this approach is the recommended way to achieve that.
Card-mod styles are like this:
card_mod:
style: |
ha-card {
color: red;
}
the code shown seems to work to decrease the size of the icon but not to increase it!?
type: custom:bubble-card
card_type: separator
name: LUCI
icon: mdi:light-recessed
styles: |
.separator-container div:last-child {
opacity: 1 !important;
background-color: #72F3CD !important;
height: 2px !important;
}
* {
font-size: 20px !important;
--mdc-icon-size: 25px !important;
align-items: center
}
Good evening everyone, I'm using Bubble Card with Card-mod3, can you help me understand how to increase the size of the separator icon. I'm going crazy but I can't.