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

Built in styles that affect children broken in editor preview #551

Open
samiresua opened this issue Apr 8, 2024 · 1 comment
Open

Built in styles that affect children broken in editor preview #551

samiresua opened this issue Apr 8, 2024 · 1 comment

Comments

@samiresua
Copy link

Built in styles that change the way children render such as cfHorizontalAlignment, cfVerticalAlignment, cfGap, cfFlexWrap, cfFlexDirection don't seem to have any effect in the editor preview, this issue seems to be happening because of a wrapping element added for the purpose of dragging elements around the canvas.

I have worked around this issue for now with the following css in my project

[data-rfd-droppable-id] {
    justify-content: inherit;
    justify-items: inherit;
    align-items: inherit;
    align-content: inherit;
    gap: inherit;
    flex-wrap: inherit;
    flex-direction: inherit;
    display: inherit;
}
@ryunsong-contentful
Copy link
Contributor

Hey samiresua, we are aware of this issue and have plans to tackle this sooner rather than later as we believe this to be high priority

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