Skip to content

Commit b90f800

Browse files
committed
codemirror style 변경, electron update
1 parent 4ade884 commit b90f800

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/editor/EditorContent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Editor({editorMode, content, onUpload, onOpenFile, onChange}) {
4343
onChange={onChange}
4444
/>
4545
)
46-
}
46+
}
4747
}
4848

4949
export default function EditorContent({content, onChange, onUpload, title, onTitleChange}) {

src/renderer/components/editor/codemirror/MarkdownEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const styles = {
4747
width:700,
4848
display: 'flex',
4949
alignItems: 'center',
50-
borderRadius:(theme) => theme.shape.borderRadius,
50+
borderRadius:(theme) => 1,
5151
paddingLeft:(theme) => theme.spacing(0.5),
5252
height:(theme) => theme.spacing(5),
5353
left: '50%',

src/renderer/styles/components/markdown-editor.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
width:100%;
44
height:auto;
55
margin:0 auto;
6-
padding:30px 0;
6+
padding:30px 0 70px;
77
font-family:Menlo, Consolas, 'DejaVu Sans Mono', monospace;
8+
font-size: 14px;
9+
color:#333;
810
background:transparent;
911
outline: none;
1012

0 commit comments

Comments
 (0)