Clooos / Bubble-Card

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

Gradient RHS of Horizontal Buttons Stack #416

Closed paulsgale closed 2 months ago

paulsgale commented 3 months ago

Maybe not a bug as such but more a minor issue with styling:

On the horizontal buttons stack at the right hand side there is a gradient. If the buttons fit within the horizontal space available and there is no scroll available, the gradient shouldn’t be shown as it messes up the look of the last button (see screen shots) and makes it look like there are other buttons to swipe to. Alternatively, if this is difficult to fix in the code, there could be a ‘hide edge gradient’ option maybe (feature request).

IMG_0446 IMG_0445

These shots are from one of my Lenovo ThinkSmart View devices running portrait 1280x800 in Fully Kiosk Browser.

Thanks

Clooos commented 3 months ago

Hi and thank you for your feedback! I was aware of that, and this issue has already been fixed by @brunosabot in its PR. We still need to do some additional work for the next release, and then we will release it in public beta to see if everything is stable 🙂

pgale commented 3 months ago

Great thanks. Any rough ETA on the beta?

Clooos commented 3 months ago

I would say within a week or two, but hopefully sooner 🤞

Edit: And it will be a major release, I can't wait to be honest 🤓

Clooos commented 2 months ago

This is fixed in the v2 beta!

Here is the link to the full changelog: https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.1

paulsgale commented 2 months ago

Hi, you say it’s fixed but I’m not sure it is unless there’s an option to remove the gradient? So on one panel, I have four buttons which take up all the horizontal space but don’t go over, so there’s no scrolling enabled. The right hand side still has a gradient applied though. I can send an image if required. Thanks.