Repository navigation
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