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

Facts and figures vertical spacing issue in block variant #575

Open
kp77 opened this issue Feb 6, 2024 · 0 comments
Open

Facts and figures vertical spacing issue in block variant #575

kp77 opened this issue Feb 6, 2024 · 0 comments

Comments

@kp77
Copy link
Contributor

kp77 commented Feb 6, 2024

When using the Facts and figures component with the block variant, there is a top spacing collapse issue with any other component that's above it. The screenshot demonstrates the issue together with a Banner component on top:

Screenshot 2024-02-05 at 22 13 35

Note that in the screenshot there are no margins between the components (the two components should be adjacent, but the banner overlaps the facts and figure component). If the components would have containers defining vertical spacing, the spacing would be also affected by the issue (less spacing on top than on the bottom of the facts and figures block).

I found that removing the pt-0 class from the container (added by the block variant) would solve the issue.

BCL version: 1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant