-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix spacing and alignment in different block placeholders #20676
Conversation
Size Change: +355 B (0%) Total Size: 864 kB
ℹ️ View Unchanged
|
I think I fixed those but I noticed that there is a fundamental problem in Placeholder component (should be fixed separately). It styles things that are not rendered by the component itself. For example it assumes that there's potentially a "form" inside it. It shouldn't try to style the form, it should just leave it for the place where a form is used. If there are things in common between these places, then a new component might be needed but Placeholder shouldn't be responsible for it. Its stylesheet also has classnames that are rendered elsewhere (like the error one) I also noticed that some placeholders (embeds) use internal Placeholder classnames in other components. These issues are the main reasons why we keep regressing in terms of placeholder design/alignment... |
Before
After