We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc37364 commit 3556cd3Copy full SHA for 3556cd3
2 files changed
src/pages/install/App.tsx
@@ -899,6 +899,7 @@ function App() {
899
<div id="show-code-container">
900
<CodeEditor
901
id="show-code"
902
+ className="sc-inset-0"
903
code={scriptCode || undefined}
904
diffCode={diffCode === scriptCode ? "" : diffCode || ""}
905
/>
src/pages/install/index.css
@@ -22,16 +22,14 @@
22
contain: strict;
23
}
24
25
-#show-code {
+#show-code { /* 配合 .sc-inset-0 */
26
margin: 0px;
27
padding: 0px;
28
border: 0px;
29
- width: 100%;
30
- height: 100%;
31
overflow: hidden;
32
border: 1px solid var(--color-neutral-5);
33
box-sizing: border-box;
34
- position: relative;
+ position: absolute;
35
background: #071119;
36
37
0 commit comments