fix(web): allow horizontal scroll in raw json editor
This commit is contained in:
parent
4a8a2e9c23
commit
8805a5ca6d
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,8 @@ export function RawJsonPanel() {
|
|||
setEditorValue(e.target.value)
|
||||
setIsDirty(true)
|
||||
}}
|
||||
className="min-h-[200px] resize-none border-0 bg-transparent px-4 py-3 font-mono text-sm shadow-none focus-visible:ring-0"
|
||||
wrap="off"
|
||||
className="min-h-[200px] resize-none overflow-x-auto border-0 bg-transparent px-4 py-3 font-mono text-sm whitespace-pre shadow-none [overflow-wrap:normal] focus-visible:ring-0"
|
||||
placeholder={t("pages.config.json_placeholder")}
|
||||
/>
|
||||
</ScrollArea>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue