Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions packages/block-library/src/paragraph/editor.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Specific to the empty paragraph placeholder:
// when shown on mobile and in nested contexts, the plus to add blocks shows up on the right.
// when shown on mobile and in nested contexts, one or more icons show up on the right.
// This padding makes sure it doesn't overlap text.
.editor-rich-text__tinymce[data-is-placeholder-visible="true"] + .editor-rich-text__tinymce.wp-block-paragraph {
padding-right: $icon-button-size;
padding-right: $icon-button-size * 3;

// In nested contexts only one icon shows up.
.wp-block .wp-block & {
padding-right: $icon-button-size;
}
}