Skip to content

Commit

Permalink
perf: index setting json editor height use vh unit. gh-168
Browse files Browse the repository at this point in the history
  • Loading branch information
riccox committed Dec 6, 2024
1 parent f6bb8a1 commit 49efc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/indexConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const IndexConfigEditor: FC<{
</div>
<MonacoEditor
language="json"
className={cn('h-[30rem]', !isSettingsEditing && 'opacity-50')}
className={cn('h-[70vh]', !isSettingsEditing && 'opacity-50')}
defaultValue={JSON.stringify(indexSettingDisplayData, null, 2)}
options={{
automaticLayout: true,
Expand Down

0 comments on commit 49efc50

Please sign in to comment.