Skip to content

Commit

Permalink
feat(ref: #118): add gap
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Oct 25, 2024
1 parent 9f8a397 commit ad91d6a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/cards/cards.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
<span class="uppercase tracking-[.25em] text-span text-dark/[.45]"
>Source code</span
>
<div class="block mt-2.5">
<div class="flex flex-col mt-2.5 gap-2.5">
@if (card.customCodeProvider) {
<pre class="flex text-span">
<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>
<img height="18" width="13" [ngSrc]="'input-vector' | asset : openSourceCardsPath" class="relative right-5 self-center" alt="Input vector" />
</pre>
<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>
<img height="18" width="13" [ngSrc]="'input-vector' | asset : openSourceCardsPath" class="relative right-5 self-center" alt="Input vector" />
</pre>
}
<pre class="flex text-span">
<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>
<img [ngSrc]="'input-vector' | asset : openSourceCardsPath" height="18" width="13" class="relative right-5 self-center" alt="Input vector" />
</pre>
<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>
<img [ngSrc]="'input-vector' | asset : openSourceCardsPath" height="18" width="13" class="relative right-5 self-center" alt="Input vector" />
</pre>
</div>
</div>
<div class="flex-[45%] rounded-10px p-15px bg-dark">
Expand Down

0 comments on commit ad91d6a

Please sign in to comment.