Closed evanwon closed 1 month ago
I'll also note that I may be wrong on the relationship to link length and button margins - could totally be a red herring. Just seems like I can most directly influence it by changing the link length.
(i.e. maybe it's a caching issue based on the original name of the button, but I've cleared my mobile Firefox and Chrome caches, as well as the Home Assistant app cache, and haven't seen any difference.)
Hi, this issue is fixed in the v2.0.0-beta, you can get it by going on the HACS page of Bubble Card, then on the 3 dot menu on the top right corner, then click on redownload, you will see the toggle to show the beta versions.
@Clooos Fantastic, thank you -- yep, that seems to have resolved it.
Thanks for all of your work on this project, it's awesome.
Describe the bug
I noticed that my pop-up buttons margins were wider on my mobile device (Android 14) than they were on my desktop browser.
Here's an example on my browser on Windows using Firefox. As you can see, the buttons are all spaced properly and as expected.
And here's what that same horizontal button stack looks like on Android. Note the spacing between these buttons is much wider and somewhat inconsistent.
Through some trial-and-error, I found out that the value used in the Link attribute of the button appears to influence the button's margin on mobile.
For example: In the screenshot above with the wide spacing on mobile, here's the values I have for the "Living" button:
Now if I reduce the length of the link (from
#living_room
to#living
), note that the margins also shrink and the button spacing looks good nowTo Reproduce
Steps to reproduce the behavior:
#this_is_a_long_link
)#short
Expected behavior
The margin between buttons should not be affected by non-visible attributes
Screenshots
Please see above
Informations (please complete the following information):
Additional context
N/A