编辑器不换行

This commit is contained in:
fofolee
2020-07-19 21:13:59 +08:00
parent ff56ae788e
commit fa40213e97
3 changed files with 16 additions and 14 deletions

View File

@@ -114,18 +114,18 @@
/*滚动条*/
::-webkit-scrollbar {
width: 6px;
width: 4px;
height: 4px;
}
::-webkit-scrollbar-thumb {
background-color: rgb(153, 153, 153);
height: 30px;
border-radius: 7px;
background-color: #616161;
border: none;
}
::-webkit-scrollbar-track-piece {
background-color: rgb(87, 87, 87);
::-webkit-scrollbar-track-piece,
.CodeMirror-scrollbar-filler {
background-color: #0000
}
/*swal2*/
@@ -164,4 +164,4 @@ body.swal2-no-backdrop .swal2-container > .swal2-modal {
background: #242729;
color: #e4e4e4;
border: 1px solid #403f3f;
}
}

View File

@@ -505,11 +505,14 @@ input::-webkit-input-placeholder {
z-index: 9;
}
#options #customize .CodeMirror-scroll {
box-sizing: unset;
#options #customize .CodeMirror-hscrollbar,
#options #customize .CodeMirror-vscrollbar {
outline: none;
}
#options #customize .CodeMirror * {
box-sizing: initial;
}
#options #customize .CodeMirror:hover {
border: 1px solid #9e9e9ec7;
@@ -562,7 +565,7 @@ input::-webkit-input-placeholder {
}
#options #customize .platform {
max-width: 30px;
max-width: 26px;
cursor: pointer;
}