Skip to content

Commit 4f17fa2

Browse files
authored
Updated code-runner-wc.js 📝
Fixed margin issue (CSS).
1 parent c446094 commit 4f17fa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/code-runner-wc.js

+3
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ class CodeRunner extends HTMLElement {
135135
font-size: 14px;
136136
overflow: auto;
137137
white-space: pre-wrap;
138+
margin: 5px 0px;
139+
margin-top: unset;
138140
}
139141
.code-knack-playground .code-knack-output.html-output .code-knack-output-content {
140142
max-width: 100% !important;
@@ -143,6 +145,7 @@ class CodeRunner extends HTMLElement {
143145
color: #000;
144146
border-radius: 3px;
145147
border: 1px solid var(--border, rgba(0, 0, 0, 0.1));
148+
146149
}
147150
.code-knack-playground .code-knack-output.html-output .code-knack-output-content .katex .base {
148151
margin: 10px 0;

0 commit comments

Comments
 (0)