Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Padding applied to display group through style_list is applied twice #2709

Open
jfmcquade opened this issue Jan 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jfmcquade
Copy link
Collaborator

jfmcquade commented Jan 14, 2025

Describe the bug
When setting the padding on a display group through the authored style_list, the padding value is applied twice.

Indeed for display groups, all styling is applied at two levels, which only sometimes causes issues: once on the component container (as all style_list properties are) and again on a child of the display group component (in accordance with the custom handling of styles for the display group component).

App version
Specify the version of the app where this bug was first identified.

To Reproduce
Describe the steps to reproduce this bug.

Deployment Sheet(s)
Specify the sheet name and include a link where the bug appears if appropriate.

Debug Sheet(s)
feat_app_layout_padding

Screenshot 2025-01-14 at 15 49 58 Screenshot 2025-01-14 at 15 55 32

Additional context
Add any other context about the problem here.

@esmeetewinkel
Copy link
Collaborator

esmeetewinkel commented Jan 17, 2025

Is it possible that padding also gets applied twice when added on the style list of the text component?

Example on a template without inline padding (sorry for not making a debug sheet, relevant sheet here):
Image
Image
vs
Image
Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants