Skip to content

Commit 4070068

Browse files
committed
fixing bug book component & youtube component
1 parent 54add63 commit 4070068

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

rust-toolchain.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/components/aprende/books.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ fn Book(
137137
</div>
138138
}
139139
})}
140-
<div class="mx-auto">
141-
<ButtonLink href=link size="big">
140+
<div class="mx-auto text-center text-sm font-bold pt-14 sm:text-sm md:text-base lg:text-lg leading-tight">
141+
<ButtonLink href=link size="big" class="p-8">
142142
{link_text}
143143
</ButtonLink>
144144
</div>

src/components/aprende/youtube.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn YoutubeCard(
6868
<h3 class="font-semibold">{title}</h3>
6969
<p>{description}</p>
7070
<div class="flex justify-center items-center gap-2">
71-
<ButtonLink href=format!("https://www.youtube.com/@{}", username) size="tiny">
71+
<ButtonLink href=format!("https://www.youtube.com/@{}", username) size="tiny" class="p-2">
7272
"Youtube"
7373
</ButtonLink>
7474
{if twitch {
@@ -77,6 +77,7 @@ fn YoutubeCard(
7777
<ButtonLink
7878
href=format!("https://www.twitch.tv/{}", username)
7979
size="tiny"
80+
class="p-2"
8081
>
8182
"Twitch"
8283
</ButtonLink>

0 commit comments

Comments
 (0)