-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change size of actual button? #29
Comments
Right now, that's not possible. Good suggestion! |
Sounds good. I'll give it a go. |
Adds Savjee#29. New properties on the button `width`,`height`. By default the fields are set to 85px. Properties are on the actual button part of the card, not the card as a whole. Also, changed cursor to `pointer` when using a mouse. Slight tweaks to README
Adds Savjee#29. New properties on the button `width`,`height`. By default the fields are set to 85px. Properties are on the actual button part of the card, not the card as a whole. Also, changed cursor to `pointer` when using a mouse. Slight tweaks to README
Hi, just looking for this, is it possible to change card size? I've tried using card_mod but doesn't seem to work as the card just gets cut off. Thanks! |
Not at this moment, sorry. |
Ok, just in case someone gets here and really needs it, this is how I managed to change its size. Let's take this one as an example: type: custom:button-text-card
title: Example
subtitle: Larger example text
icon: mdi:home
large: true
font_color: white
background_color: blue I tweaked it using card_mod, like this: type: custom:button-text-card
title: Example
subtitle: Larger example text
icon: mdi:home
large: true
font_color: white
background_color: blue
style: |
.flex-container {
padding: 12px 0px 12px;
height: 45px;
}
.icon-container, .text-container {
height: 100% !important;
} Hope it helps someone :) |
Is there a way to change the size of the actual button? Not just the size of the icon inside the button. I'm looking at the https://github.com/custom-cards/button-card which has a style property that allows for changing the dimensions of the actual button.
The text was updated successfully, but these errors were encountered: