mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
migrate frontend
This commit is contained in:
37
web/src/less/memo-editor.less
Normal file
37
web/src/less/memo-editor.less
Normal file
@ -0,0 +1,37 @@
|
||||
@import "./mixin.less";
|
||||
|
||||
.memo-editor-wrapper {
|
||||
.flex(column, flex-start, flex-start);
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: white;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
border: 2px solid @bg-gray;
|
||||
|
||||
&.edit-ing {
|
||||
border-color: @text-blue;
|
||||
}
|
||||
|
||||
> .tip-text {
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
color: @text-lightgray;
|
||||
}
|
||||
|
||||
> .memo-editor {
|
||||
.flex(column, flex-start, flex-start);
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 875px) {
|
||||
.memo-editor-wrapper {
|
||||
width: calc(100% - 24px);
|
||||
margin: auto;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user