feat: add monaco editor and align markdown toggle in tabs

This commit is contained in:
2026-02-23 09:22:26 +03:00
parent 75fbb53390
commit 3abcd9563b
5 changed files with 210 additions and 10 deletions

View File

@@ -316,17 +316,17 @@ textarea {
}
.md-toggle {
position: absolute;
top: 8px;
right: 8px;
z-index: 2;
width: 30px;
height: 30px;
position: static;
z-index: 0;
width: var(--top-control-btn-h);
min-width: var(--top-control-btn-h);
height: var(--top-control-btn-h);
padding: 0;
border-radius: 999px;
font-size: 15px;
font-size: 16px;
line-height: 1;
background: #163057;
flex-shrink: 0;
}
.md-toggle.active {
@@ -355,6 +355,11 @@ textarea {
flex: 1;
}
.file-editor.monaco-host {
padding: 0;
overflow: hidden;
}
.md-preview {
background: #0b1830;
border: 1px solid var(--line);