fix: monaco editor line count limit

This commit is contained in:
Slinetrac
2025-11-17 07:41:37 +08:00
parent b0089d162b
commit f315a98afd
23 changed files with 420 additions and 102 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ export const BaseLoadingOverlay: React.FC<BaseLoadingOverlayProps> = ({
display: "flex",
justifyContent: "center",
alignItems: "center",
backgroundColor: "rgba(255, 255, 255, 0.7)",
// Respect current theme; avoid bright flash in dark mode
backgroundColor: (theme) =>
theme.palette.mode === "dark"
? "rgba(0, 0, 0, 0.5)"
: "rgba(255, 255, 255, 0.7)",
zIndex: 1000,
}}
>