Skip to content

Commit bef1f1c

Browse files
committed
Refactor component preview spacing
1 parent 930c318 commit bef1f1c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/app/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ function setCompInfo(comp: string): void {
317317
<pre><code>${highlightHTML(compHTMLRaw)}</code></pre>
318318
</div>
319319
</div>
320-
<br>
321320
`);
322321

323322
const componentHTML: JQuery<HTMLElement> = compPreviewEl.find(".component-html");

src/app/styles/_preview.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
border-radius: 6px;
1616
background: $bg-main;
1717
margin-bottom: 1.25em;
18+
margin-top: 1.25em;
1819
overflow: hidden;
1920

2021
&.component-container-img {

0 commit comments

Comments
 (0)