маленькие фиксы
All checks were successful
Build / build (push) Successful in 1m1s

This commit is contained in:
2025-07-07 16:00:39 +03:00
parent eb419087b5
commit 23d0140f76
2 changed files with 3 additions and 5 deletions

View File

@@ -102,4 +102,5 @@ const basicSetup: Extension = [
keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap]), keymap.of([...closeBracketsKeymap, ...defaultKeymap, ...searchKeymap, ...historyKeymap]),
mathPlugin(), mathPlugin(),
placeholder('0.1 + 0.2 = 0.3'), placeholder('0.1 + 0.2 = 0.3'),
EditorView.lineWrapping,
] ]

View File

@@ -10,6 +10,7 @@ body {
max-width: 800px; max-width: 800px;
margin: auto; margin: auto;
height: 100vh; height: 100vh;
padding: 12px;
} }
#root, #root,
@@ -22,10 +23,6 @@ body {
outline: none; outline: none;
} }
.cm-scroller {
margin-right: -14px;
}
.math-result { .math-result {
color: rgb(80, 80, 80); color: rgb(80, 80, 80);
margin-left: 8px; margin-left: 8px;
@@ -66,7 +63,7 @@ body {
font-family: monospace; font-family: monospace;
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
margin: 8px 0; margin-bottom: 8px;
transition: all 0.2s ease; transition: all 0.2s ease;
font-weight: 600; font-weight: 600;
} }