mirror of
https://github.com/usememos/memos.git
synced 2025-10-21 03:36:10 +08:00
* 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>
17 lines
437 B
Text
17 lines
437 B
Text
.common-editor-wrapper {
|
|
@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 word-break;
|
|
|
|
&::placeholder {
|
|
padding-left: 2px;
|
|
}
|
|
|
|
&:focus {
|
|
&::placeholder {
|
|
color: lightgray;
|
|
}
|
|
}
|
|
}
|
|
}
|