iantrich / restriction-card

🔒 Apply restrictions to Lovelace cards
MIT License
259 stars 22 forks source link

Lock location does not line up the same from mobile and desktop view #35

Closed iptvcld closed 4 years ago

iptvcld commented 4 years ago

restriction-lock-row-margin-left: 94% restriction-lock-margin-left: 94% restriction-regular-lock-color: "#000000"

MOBILE l1

DESKTOP l2

One is more to the right and the other is more to the left - perhaps there should be an option to just center it on top of the toggle. I changed it to 95% as well and it still looks off.

iantrich commented 4 years ago

difference in number of pixels in either display, makes for a difference in offsets by a slight amount. not something I'll be "fixing"