Skip to content

Commit 7d91285

Browse files
feat(ref: #118): add gap
1 parent ad91d6a commit 7d91285

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/cards/cards.component.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
<div class="ml-4 flex items-center text-title text-dark uppercase tracking-[.25em]">
99
{{ card.header }}
1010
</div>
11-
<div class="flex gap-30px mob:flex-col mob:gap-15px scroll-mt-[185px]" [id]="card.anchor">
11+
<div
12+
class="flex justify-between gap-30px mob:flex-col mob:gap-15px scroll-mt-[185px]"
13+
[id]="card.anchor">
1214
<div class="flex-[55%] rounded-10px bg-full-white p-15px">
1315
<div class="flex items-start gap-2.5 mb-5">
1416
<img
@@ -24,7 +26,7 @@
2426
<div class="flex flex-col mt-2.5 gap-2.5">
2527
@if (card.customCodeProvider) {
2628
<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>
29+
<code class="bg-white w-full h-fit pl-15px rounded-10px border-none overflow-hidden whitespace-pre-wrap" language="html" [highlight]="card.customCodeProvider"></code>
2830
<img height="18" width="13" [ngSrc]="'input-vector' | asset : openSourceCardsPath" class="relative right-5 self-center" alt="Input vector" />
2931
</pre>
3032
}

0 commit comments

Comments
 (0)