fix: json selection not visible (#8028)
* Fixed json selection not appearing and selection color * Added h full to json viewer
This commit is contained in:
parent
9096293e52
commit
d7f99e7ce0
3 changed files with 10 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ const JsonOutputViewComponent: React.FC<JsonOutputViewComponentProps> = ({
|
|||
const initialFilter = output?.options?.filter;
|
||||
|
||||
return (
|
||||
<div className="flex flex-1 flex-col">
|
||||
<div className="flex h-full flex-1 flex-col">
|
||||
<JsonEditor
|
||||
data={{ json: jsonData }}
|
||||
readOnly={true}
|
||||
|
|
|
|||
|
|
@ -395,6 +395,11 @@ input[type="search"]::-webkit-search-cancel-button {
|
|||
height: 38px !important;
|
||||
}
|
||||
|
||||
.cm-selectionLayer {
|
||||
z-index: 1 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.cm-button:hover {
|
||||
background-color: hsl(var(--border)) !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@
|
|||
--jse-main-border: hsl(240, 6%, 90%);
|
||||
--jse-background-color: hsl(240, 5%, 96%);
|
||||
--jse-text-color: hsl(0, 0%, 0%);
|
||||
--jse-selection-background-color: hsl(240, 5%, 96%);
|
||||
--jse-selection-background-inactive-color: hsl(240, 6%, 90%);
|
||||
--jse-selection-background-color: hsl(240, 4%, 46%, 0.2);
|
||||
--jse-selection-background-inactive-color: hsl(240, 4%, 46%, 0.15);
|
||||
--jse-hover-background-color: hsl(240, 5%, 96%);
|
||||
--jse-active-line-background-color: hsl(240, 5%, 96%);
|
||||
--jse-search-match-background-color: hsl(240, 5%, 96%);
|
||||
|
|
@ -241,8 +241,8 @@
|
|||
--jse-main-border: hsl(240, 5%, 26%);
|
||||
--jse-background-color: hsl(240, 4%, 16%);
|
||||
--jse-text-color: hsl(0, 0%, 100%);
|
||||
--jse-selection-background-color: hsl(240, 4%, 16%);
|
||||
--jse-selection-background-inactive-color: hsl(240, 5%, 26%);
|
||||
--jse-selection-background-color: hsl(240, 5%, 65%, 0.2);
|
||||
--jse-selection-background-inactive-color: hsl(240, 5%, 65%, 0.15);
|
||||
--jse-hover-background-color: hsl(240, 4%, 16%);
|
||||
--jse-active-line-background-color: hsl(240, 4%, 16%);
|
||||
--jse-search-match-background-color: hsl(240, 4%, 16%);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue