Files
memos/web/src/less/editor.less
boojack 241c93c6b7 feat: update editor style (#454)
* feat: update editor style

* chore: update bg
2022-11-12 20:57:08 +08:00

22 lines
476 B
Plaintext

@import "./mixin.less";
.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 my-1 text-base resize-none overflow-x-hidden overflow-y-auto bg-transparent whitespace-pre-wrap;
max-height: 300px;
.pretty-scroll-bar(2px, 0);
&::placeholder {
padding-left: 2px;
}
&:focus {
&::placeholder {
color: lightgray;
}
}
}
}