button-card icon indicating copy to clipboard operation
button-card copied to clipboard

Bottom border cut off

Open backslashV opened this issue 3 years ago • 4 comments

Hi, I am not sure this is a bug or not, but the bottom border of my card is not showing:

My config:

cards:
  - type: custom:button-card
    entity: switch.kitchen_up
    show_name: false
    size: 20%
    hold_action:
      action: more-info
    styles:
      icon:
        - border: solid 3px var(--primary-color)
          border-radius: 5px;
    style: |
      ha-card {
        background-color: var(--primary-background-color);
        border-radius: 15px;
        margin: 10px;
      }
  - type: custom:button-card
    entity: switch.kitchen_down
    show_name: false
    size: 20%
    hold_action:
      action: more-info
    styles:
      icon:
        - border: solid 3px var(--primary-color)
          border-radius: 5px;
    style: |
      ha-card {
        background-color: var(--primary-background-color);
        border-radius: 15px;
        margin: 10px;
      }
title: Kitchen
type: custom:vertical-stack-in-card

image

backslashV avatar Nov 30 '21 01:11 backslashV

anyone?

backslashV avatar Dec 10 '21 03:12 backslashV

anyone?

This has been driving me crazy too!!! Still not resolved. Hopefully soon...PLEASE!!!!

chenzomo avatar Dec 10 '21 03:12 chenzomo

That is probably generated by vertical-stack-in-card or maybe the margin that you change with card-mod. Nothing I can do here, sorry.

RomRider avatar Dec 30 '21 17:12 RomRider

That is probably generated by vertical-stack-in-card or maybe the margin that you change with card-mod. Nothing I can do here, sorry.

No, the custom button card alone also displays incorrectly. You can try it yourself..

backslashV avatar Dec 31 '21 02:12 backslashV