ShadowAya/anchor-card

Grey line

Closed this issue · 5 comments

Hi, how can I hide this grey line?

2024-02-28_214436

type: custom:anchor-card
anchor_id: top
negative_margin: 0px
offset: -50
timeout: 0ms

Fixed on v2.4, thanks for reporting! Let me know if the fix works for you, it was the theme's border showing

Also noticed there was a mistake in README, values are only numeric (negative_margin and timeout should both be just 0), apologies!

Please fix your config, although it doesn't make a difference for you because an invalid value will default to zero

Thanks for your reply)
I see this if set negative_margin to 0

type: custom:anchor-card
anchor_id: light
negative_margin: 0
offset: -50
timeout: 0

Screenshot_20240229-000734_Home Assistant

anchor_id: light
type: custom:anchor-card
negative_margin: -30
offset: -60
timeout: 0

This works great! Is it possible to add immediately scroll instead of smooth?

Gonna release that option with the next update, good suggestion. Closing now!