Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.99k stars 57 forks source link

Number of rows when placed in a section view #820

Open timota opened 1 month ago

timota commented 1 month ago

Describe the bug
When changing number of rows when placed in a section view - card size not changed, only placeholder(marked on screenshot). Similar option for columns - does work without any issue.

Expected behavior
When number of rows changed - card size should be changed accordingly.

Screenshots

Screenshot 2024-09-29 at 23 32 24

YAML

type: custom:bubble-card
card_type: button
entity: light.f1_r2_dimmer_01
card_layout: large
show_state: true
show_last_changed: false
show_attribute: true
attribute: brightness
button_type: slider
sub_button: []
columns: 2
rows: 2

Informations (please complete the following information):

Thank you! 🍻

Clooos commented 1 month ago

Hi! This is in my plans, this just need some adjustments to make it looks right in that size.

dts-1990 commented 3 weeks ago

This sounds good and makes sense. Currently, to change button's height, I do this:

.bubble-button-card-container { height: 90px; }

But I think this Feature Request will make things look more consistent