UNPKG

468 BSCSSView Raw
1// Specific to the empty paragraph placeholder:
2// when shown on mobile and in nested contexts, one or more icons show up on the right.
3// This padding makes sure it doesn't overlap text.
4.block-editor-rich-text__editable[data-is-placeholder-visible="true"] + .block-editor-rich-text__editable.wp-block-paragraph {
5 padding-right: $icon-button-size * 3;
6
7 // In nested contexts only one icon shows up.
8 .wp-block .wp-block & {
9 padding-right: $icon-button-size;
10 }
11}