Skip to content

Commit 2ff665e

Browse files
committed
fix styles
1 parent 37e5b44 commit 2ff665e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/webviews/src/modules/key-details/components/rejson-details/components/edit-entire-item-action/EditEntireItemAction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ export const EditEntireItemAction = (props: Props) => {
6363
onKeyDown={handleKeyDown}
6464
>
6565
<div className="grow">
66-
<div className="h-[300px]">
66+
<div className={styles.editor}>
6767
<MonacoJson
68-
wrapperClassName={'h-[300px]'}
68+
wrapperClassName={styles.editorWrapper}
6969
value={value}
7070
onChange={setValue}
7171
/>

src/webviews/src/modules/key-details/components/rejson-details/styles.module.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,12 @@
152152
}
153153
}
154154

155-
.fullWidthTextArea {
156-
@apply h-[150px] w-full pb-[30px] max-w-none scroll-pb-5;
155+
.editor {
156+
@apply h-[200px] w-full pb-[30px] max-w-none scroll-pb-5;
157+
}
158+
159+
.editorWrapper {
160+
@apply h-[200px];
157161
}
158162

159163
.buttonStyle,

0 commit comments

Comments
 (0)