Skip to content

Commit 980a570

Browse files
authored
Merge pull request #1 from ssa1f/dev
modification design of code editor
2 parents 0adce20 + 45c2de3 commit 980a570

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

css/editor.css

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@
1717
}
1818

1919
.codeDiv {
20-
box-shadow: rgb(0 0 0 / 55%) 5px 5px 30px;
21-
padding: 20px 30px;
22-
height: 100%;
23-
background-color: #151718;
24-
color: #fff;
25-
border-radius: 5px;
26-
font-size: 12px;
27-
cursor: pointer;
20+
box-shadow: rgb(0 0 0 / 55%) 5px 5px 30px;
21+
padding: 20px 30px 0 30px;
22+
background-color: #151718;
23+
color: #fff;
24+
border-radius: 5px;
25+
font-size: 14px;
26+
cursor: pointer;
2827
}
2928

3029
.codeDiv p {
@@ -36,14 +35,11 @@
3635
padding: 0px;
3736
background: transparent none repeat scroll 0% 0%;
3837
color: #d6deeb;
39-
white-space: nowrap;
40-
}
41-
.codeDiv pre code {
42-
white-space: pre-wrap;
38+
margin: 0;
4339
}
4440

4541
pre code.hljs {
46-
display: block;
42+
display: unset;
4743
overflow-x: auto;
4844
padding: 0;
4945
background: transparent;

0 commit comments

Comments
 (0)