mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
style: adjust overview memo style (#12958)
This commit is contained in:
@@ -1293,18 +1293,38 @@ onBeforeUnmount(() => {
|
||||
.memo-content {
|
||||
min-height: 218px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
margin-top: -15px;
|
||||
margin-left: -10px;
|
||||
word-wrap: break-word;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
|
||||
:deep(.md-editor) {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
:deep(.md-editor-content .md-editor-preview) {
|
||||
font-size: 13px;
|
||||
padding: 0;
|
||||
font-size: 11px;
|
||||
line-height: 1.2;
|
||||
word-break: break-word;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
:deep(.md-editor-preview p),
|
||||
:deep(.md-editor-preview li),
|
||||
:deep(.md-editor-preview table),
|
||||
:deep(.md-editor-preview blockquote),
|
||||
:deep(.md-editor-preview code) {
|
||||
font-size: 11px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
:deep(.md-editor-preview h1),
|
||||
:deep(.md-editor-preview h2),
|
||||
:deep(.md-editor-preview h3),
|
||||
:deep(.md-editor-preview h4),
|
||||
:deep(.md-editor-preview h5),
|
||||
:deep(.md-editor-preview h6) {
|
||||
margin: 0.5em 0;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user