一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
43 行
881 B
SCSS
43 行
881 B
SCSS
// 简约 Markdown 编辑器:标准工具栏 + 原生 textarea。
|
|
// 排版跟随 cn-minimal 层,未加载时回退到主题默认值。
|
|
|
|
.minimal-markdown-editor {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
|
|
> .editor-toolbar-row {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
> .editor-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: var(--cn-space-4, 16px);
|
|
border: none;
|
|
outline: none;
|
|
resize: none;
|
|
overflow-y: auto;
|
|
tab-size: 4;
|
|
font-family: var(--cn-font-mono, monospace);
|
|
font-size: inherit;
|
|
line-height: 1.75;
|
|
letter-spacing: var(--cn-letter-spacing, normal);
|
|
color: var(--joplin-color);
|
|
background-color: var(--joplin-background-color);
|
|
|
|
&::placeholder {
|
|
color: var(--joplin-color-faded);
|
|
}
|
|
|
|
&:read-only {
|
|
color: var(--joplin-color-faded);
|
|
}
|
|
}
|
|
}
|