Task details page improvements (#1004)

This commit is contained in:
Shuchang Zheng
2024-10-18 11:49:49 -07:00
committed by GitHub
parent dd677132fe
commit a6e257369b
6 changed files with 129 additions and 68 deletions

View File

@@ -22,6 +22,7 @@ function CodeEditor({
maxHeight,
language,
className,
disabled,
fontSize = 8,
}: Props) {
const extensions =
@@ -36,6 +37,7 @@ function CodeEditor({
theme={tokyoNightStorm}
minHeight={minHeight}
maxHeight={maxHeight}
readOnly={disabled}
className={cn("cursor-auto", className)}
style={{
fontSize: fontSize,