feat: enable word break (#849)

* feat: enable word break

* Update web/src/less/editor.less

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Update web/src/less/memo-content.less

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
pull/856/head
Zeng1998 2 years ago committed by GitHub
parent 278b4d21b4
commit cac04e4406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save