Open lynamemi opened 2 years ago
I'll take a look at this -- we need to see if this behavior is matched on other platforms. This may have been an explicit design decision, but it would have been made before I joined the team, so I'm missing some context.
@lynamemi this is by design.
Padding only get added if parent container view's style is different from child's style.
parent's style will be default
by default. and setting child's style default
will create no padding.
one option you can consider is setting one of style's background color to default's color in host config.
suppose default
's color is blue.
then set accent
's color to blue.
and use accent
in place of default for styling.
Target Platforms
NodeJS
SDK Version
1.3
Application Name
Viva Connections
Problem Description
It seems like a bug, and not by design that containers with Default background color have no padding as containers with any other background color have padding. Can we get padding added for this scenario?
Screenshots
Card JSON
Sample Code Language
No response
Sample Code
No response