Skip to content

Commit ffbaab7

Browse files
committed
fix(sdk): update the stub generator editor
1 parent ef1e60c commit ffbaab7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

runner/src/main/resources/view/stub.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ button {
7373
flex: 1;
7474
}
7575

76+
pre[class*="language-"].preview-code {
77+
line-height: 0;
78+
}
79+
7680
.edit,
7781
.preview {
7882
margin: 10px;

runner/src/main/resources/view/stub.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33

44
<head>
5+
<title>Edit the stub generator</title>
56
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/themes/prism-tomorrow.css" rel="stylesheet" />
67
<link rel="stylesheet" type="text/css" href="stub.css">
78

@@ -48,7 +49,7 @@
4849
<option>VB.net</option>
4950
</select>
5051
<div id="error"></div>
51-
<pre><code id="result"></code></pre>
52+
<pre class="preview-code"><code id="result"></code></pre>
5253
</div>
5354

5455
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.17.1/components/prism-core.js"></script>

0 commit comments

Comments
 (0)