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

Light Modal Block Fails to Render Content with Top/Bottom Root Padding Set #2

Open
TremiDkhar opened this issue Aug 12, 2024 · 1 comment

Comments

@TremiDkhar
Copy link

Description

When the root padding for the top and bottom is set, the Light Modal Block fails to render its content. The issue persists until the padding values are adjusted or removed. See the video below for a demonstration of the issue.

Issue.2.mp4

Environment

WP: 6.6.1
Current Theme: Twenty Twenty-Four v1.2
Plugin Version: 1.3.0

@dkjensen
Copy link
Contributor

@TremiDkhar Can you check what the value of

{
    "styles": {
        "spacing": {
            "padding": {}
        }
    }
}

Is set to? In TwentyTwentyFour I am seeing the left and right global padding set to var(--wp--preset--spacing--50) so depending on what that value is it could maybe make things weird? Try setting the top and bottom padding on the light modal block to something other than var(--wp--preset--spacing--50). In my case it works fine

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

2 participants