Skip to content

Commit

Permalink
Wrap content if it exceeds the width
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Oct 30, 2024
1 parent 6313409 commit 64f3104
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/styles/block.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
margin-top: 0;
}

&__content [contenteditable] {
word-break: break-word;
}

&--selected &__content {
background: var(--selectionColor);

Expand Down

0 comments on commit 64f3104

Please sign in to comment.