Rounding corners doesnt work with picture-elements card
Tontze opened this issue · 1 comments
Tontze commented
This is what happens :
Works fine with picture-entity
- type: custom:card-modder
style:
border-radius: 30px
border: solid 1px rgba(100,100,100,0.3)
color: "#999999"
box-shadow: 3px 3px rgba(0,0,0,0.4)
card:
type: picture-elements
image: /local/terassi.jpeg
elements:
- type: state-icon
tap_action:
action: toggle
entity: light.henna
style:
top: 47%
left: 42%
Tontze commented
overflow: hidden makes it work ...