I was trying out the styles configuration to add some more padding between the cards.
Adding:
type: custom:vertical-stack-in-card
styles:
padding: 0.2em
cards:
...
The preview works fine, it changes the padding as I add styles.
Save works, the padding is persisted.
When editing the card again, the styles config element is gone.
I think it might have something to do with this code:
|
// Patch setConfig to remove non-VSIC config options. |
I was trying out the styles configuration to add some more padding between the cards.
Adding:
The preview works fine, it changes the padding as I add styles.
Save works, the padding is persisted.
When editing the card again, the styles config element is gone.
I think it might have something to do with this code:
vertical-stack-in-card/vertical-stack-in-card.js
Line 176 in a23a601