mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
fix(console): code editor line wrap (#3634)
This commit is contained in:
parent
2fc9c87553
commit
7845872196
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-family: 'Roboto Mono', monospace;
|
font-family: 'Roboto Mono', monospace;
|
||||||
white-space: nowrap;
|
white-space: pre;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
|
|
|
@ -104,6 +104,7 @@ function CodeEditor({
|
||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCorrect="off"
|
autoCorrect="off"
|
||||||
data-gramm="false"
|
data-gramm="false"
|
||||||
|
wrap="false"
|
||||||
readOnly={isReadonly}
|
readOnly={isReadonly}
|
||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
value={value}
|
value={value}
|
||||||
|
|
Loading…
Reference in a new issue