diff --git a/.copilot-temp/submit-ace-smoke.html b/.copilot-temp/submit-ace-smoke.html new file mode 100644 index 0000000..c799eb5 --- /dev/null +++ b/.copilot-temp/submit-ace-smoke.html @@ -0,0 +1,71 @@ + + +
+ +#include <bits/stdc++.h>
+
+int main() {
+ return 0;
+}
+
+
+
+
+
+
+
diff --git a/web/template/syzoj/submitpage.php b/web/template/syzoj/submitpage.php
index 642a405..5f81125 100644
--- a/web/template/syzoj/submitpage.php
+++ b/web/template/syzoj/submitpage.php
@@ -15,15 +15,23 @@
text-align: left !important;
}
-.hustoj-vditor-code,
-.hustoj-vditor-code .vditor,
-.hustoj-vditor-code .vditor-content,
-.hustoj-vditor-code .vditor-reset,
-.hustoj-vditor-code textarea {
+#source.ace_editor {
width: 100% !important;
+ border: 1px solid #d4d4d5;
+ border-radius: 6px;
+}
+
+#source.ace_editor,
+#source.ace_editor .ace_scroller,
+#source.ace_editor .ace_content,
+#source.ace_editor .ace_text-layer {
text-align: left !important;
}
+#source.ace_editor .ace_gutter {
+ border-radius: 6px 0 0 6px;
+}
+
.ace-chrome .ace_marker-layer .ace_active-line{ /*当前行*/
background-color: rgba(0,0,199,0.3);
}
@@ -474,21 +482,39 @@ function loadFromBlockly(){
}
?>
-
+
+