Skip to content

Commit 1297b8c

Browse files
Merge pull request #14 from editor-js/update-styles
Styles update
2 parents 62425d7 + 21bb7c5 commit 1297b8c

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Code Tool for the [Editor.js](https://ifmo.su/editor) allows to include code examples in your articles.
66

7-
![](https://capella.pics/77cc593f-0384-4df2-b9d1-d9c7d6d96b7d.jpg/cover/eff2f5)
7+
![](https://capella.pics/8df022f5-b4d5-4d30-a527-2a0efb63f291.jpg)
88

99
## Installation
1010

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@editorjs/code",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"keywords": [
55
"codex editor",
66
"code",

src/index.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
.ce-code__textarea {
22
min-height: 200px;
3-
font-size: 13px;
4-
resize: vertical;
3+
font-family: Menlo, Monaco, Consolas, Courier New, monospace;
4+
color: #41314e;
5+
line-height: 1.6em;
6+
font-size: 12px;
7+
background: #f8f7fa;
8+
border: 1px solid #f1f1f4;
9+
box-shadow: none;
510
white-space: pre;
6-
overflow-x: auto;
711
word-wrap: normal;
8-
font-family: Menlo, Monaco, Consolas, Courier New, monospace;
12+
overflow-x: auto;
13+
resize: vertical;
914
}

0 commit comments

Comments
 (0)