增加手机端代码提示滚动条宽度
This commit is contained in:
parent
c6bbf265de
commit
929c1b5008
|
@ -7554,7 +7554,7 @@
|
|||
if(str.lastIndexOf(start,0)==0&&!list.includes(str)) list.push(str);
|
||||
}
|
||||
for(let v=token.state.localVars;v;v=v.next) maybeAdd(v.name);
|
||||
for(let c=token.state.context;c;c=c.prev) for (let v=c.vars;v;v=v.next) maybeAdd(v.name)
|
||||
for(let c=token.state.context;c;c=c.prev) for(let v=c.vars;v;v=v.next) maybeAdd(v.name)
|
||||
for(let v=token.state.globalVars;v;v=v.next) maybeAdd(v.name);
|
||||
if(options&&options.additionalContext!=null) for(let key in options.additionalContext) maybeAdd(key);
|
||||
list.addArray(keys);
|
||||
|
|
|
@ -468,6 +468,12 @@ div.cm-s-mdn-like span.CodeMirror-matchingbracket { outline:1px solid grey; colo
|
|||
display: block;
|
||||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
.CodeMirror-hints::-webkit-scrollbar {
|
||||
width: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
.CodeMirror-hints::-webkit-scrollbar-thumb {
|
||||
background-color: rgb(218, 215, 215);
|
||||
height: 50px;
|
||||
|
|
Loading…
Reference in New Issue