Combination of button-card and decluttering-card causing additional empty space
See original GitHub issueChecklist:
- [ x] I updated to the latest version available
- [ x] I cleared the cache of my browser
Release with the issue: 0.6.3
Last working release (if known): N/A
Browser and Operating System:
arch | x86_64 |
---|---|
dev | false |
docker | true |
hassio | false |
installation_type | Home Assistant Container |
os_name | Linux |
os_version | 4.19.107-Unraid |
python_version | 3.7.7 |
timezone | America/Chicago |
version | 0.111.2 |
virtualenv | false |
Description of problem:
When I use decluttering-card with button-card and it causes additional space after each button.
If I use only button-card then no issues.
- type: custom:decluttering-card
template: motion_sensors_battery_square
variables:
- name: Bedroom
- entity: binary_sensor.wyzesense_777bfd2e
- entity2: sensor.tmpl_wyze_br_motion_sensor_battery
- type: 'custom:button-card'
template: blank_card_2px_width_style
- type: custom:decluttering-card
template: motion_sensors_battery_square
variables:
- name: Laundry
- entity: binary_sensor.wyzesense_77a5f319
- entity2: sensor.tmpl_wyze_lr_motion_sensor_battery
Javascript errors shown in the web inspector (if applicable):
No errors
Additional information:
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
Lovelace: Decluttering Card - Dashboards & Frontend
Hey, I've created a new card that helps you declutter your LL config if you use multiple times the same block of cards...
Read more >The Top 9 Expert Strategies To Declutter Your Home
I inspire others to own less and live more. ... My rigorous decluttering method focuses on room-by-room ... Step 1: Empty the space....
Read more >How to Declutter and Organize Your Craft Space
The important thing throughout this packing process is to get the boxes OUT of your space, and not to stack them in another...
Read more >Tidy Tips from Professional Organizers
We're constantly helping clients declutter their belongings. Believe it or not, holiday cards are a major culprit for holiday storage clutter. Here's our...
Read more >A Guide to Getting Rid of Almost Everything
I gathered my unwanteds and piled them in the living room. ... program will compensate you in Amazon gift cards; and SellCell compares...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can add invisible buttons on the left (like 2 for eg) to reduce the overall size:
setting width and height should be only used in very specific case as it completely breaks when used with different devices. That’s why aspect_ratio was introduced as it respects how lovelace works
I just ran against this myself.
I’ve added CSS Card Mod via HACS and then just floated the button as needed.
ex:
Went from:
To This: