Unverified Commit cac04e44 authored by Zeng1998's avatar Zeng1998 Committed by GitHub

feat: enable word break (#849)

* feat: enable word break

* Update web/src/less/editor.less
Co-authored-by: 's avatarboojack <stevenlgtm@gmail.com>

* Update web/src/less/memo-content.less
Co-authored-by: 's avatarboojack <stevenlgtm@gmail.com>
Co-authored-by: 's avatarboojack <stevenlgtm@gmail.com>
parent 278b4d21
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@apply flex flex-col justify-start items-start relative w-full h-auto bg-white; @apply flex flex-col justify-start items-start relative w-full h-auto bg-white;
> .common-editor-inputer { > .common-editor-inputer {
@apply w-full h-full ~"max-h-[300px]" my-1 text-base resize-none overflow-x-hidden overflow-y-auto bg-transparent outline-none whitespace-pre-wrap break-all; @apply w-full h-full ~"max-h-[300px]" my-1 text-base resize-none overflow-x-hidden overflow-y-auto bg-transparent outline-none whitespace-pre-wrap word-break;
&::placeholder { &::placeholder {
padding-left: 2px; padding-left: 2px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment