mirror of
https://github.com/usememos/memos.git
synced 2024-12-20 01:31:29 +03:00
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>
This commit is contained in:
parent
278b4d21b4
commit
cac04e4406
@ -2,7 +2,7 @@
|
||||
@apply flex flex-col justify-start items-start relative w-full h-auto bg-white;
|
||||
|
||||
> .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 {
|
||||
padding-left: 2px;
|
||||
|
Loading…
Reference in New Issue
Block a user