diff --git a/XMOJ.user.js b/XMOJ.user.js index 69d0d77d..f9ac1c24 100644 --- a/XMOJ.user.js +++ b/XMOJ.user.js @@ -4970,6 +4970,10 @@ async function main() {
`; + let compareElementStyle = document.createElement("style"); + compareElementStyle.textContent = `#CompareElement .monaco-merge-host { height: 95%; }`; + document.head.appendChild(compareElementStyle); + let LeftCode = ""; await fetch("https://www.xmoj.tech/getsource.php?id=" + SearchParams.get("left")) .then((Response) => {