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
5 changes: 3 additions & 2 deletions packages/editor/src/components/collab-sidebar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
}

.editor-collab-sidebar-panel__note-content {
overflow-wrap: break-word;

p:last-child {
margin-bottom: 0;
}
Expand Down Expand Up @@ -158,7 +160,7 @@
max-height: calc(20px * 20 + 18px); // 20 rows + vertical padding.
overflow-y: auto;
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;

// Inline formats inherit the surrounding text styles but keep
// their semantic emphasis (RichText renders <strong>, <em>, etc.).
Expand Down Expand Up @@ -255,7 +257,6 @@ mark.wp-note {
background: var(--wpds-color-background-surface-brand);
color: var(--wpds-color-foreground-interactive-brand);
font-weight: var(--wpds-typography-font-weight-emphasis);
white-space: nowrap;

// Keep the chip boundary visible when forced-colors drops the background tint.
@media (forced-colors: active) {
Expand Down
Loading