Skip to content

Commit ad91d6a

Browse files
feat(ref: #118): add gap
1 parent 9f8a397 commit ad91d6a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/cards/cards.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
<span class="uppercase tracking-[.25em] text-span text-dark/[.45]"
2222
>Source code</span
2323
>
24-
<div class="block mt-2.5">
24+
<div class="flex flex-col mt-2.5 gap-2.5">
2525
@if (card.customCodeProvider) {
2626
<pre class="flex text-span">
27-
<code class="bg-white w-full h-fit pl-15px rounded-10px border-none overflow-hidden whitespace-pre-line" language="html" [highlight]="card.customCodeProvider"></code>
28-
<img height="18" width="13" [ngSrc]="'input-vector' | asset : openSourceCardsPath" class="relative right-5 self-center" alt="Input vector" />
29-
</pre>
27+
<code class="bg-white w-full h-fit pl-15px rounded-10px border-none overflow-hidden whitespace-pre-line" language="html" [highlight]="card.customCodeProvider"></code>
28+
<img height="18" width="13" [ngSrc]="'input-vector' | asset : openSourceCardsPath" class="relative right-5 self-center" alt="Input vector" />
29+
</pre>
3030
}
3131
<pre class="flex text-span">
32-
<code type="text" language="html" [highlight]="card.code" class="bg-white w-full h-fit pl-15px rounded-10px border-none overflow-hidden whitespace-pre-line"></code>
33-
<img [ngSrc]="'input-vector' | asset : openSourceCardsPath" height="18" width="13" class="relative right-5 self-center" alt="Input vector" />
34-
</pre>
32+
<code type="text" language="html" [highlight]="card.code" class="bg-white w-full h-fit pl-15px rounded-10px border-none overflow-hidden whitespace-pre-line"></code>
33+
<img [ngSrc]="'input-vector' | asset : openSourceCardsPath" height="18" width="13" class="relative right-5 self-center" alt="Input vector" />
34+
</pre>
3535
</div>
3636
</div>
3737
<div class="flex-[45%] rounded-10px p-15px bg-dark">

0 commit comments

Comments
 (0)