Skip to content

Commit 9171dfa

Browse files
authoredOct 7, 2024
Merge pull request #69 from RodriDev23/fixing-book-component-error
Fixing book component error
2 parents 54add63 + f197839 commit 9171dfa

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed
 

‎rust-toolchain.toml

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
channel = "nightly-2024-02-12"
33
profile = "minimal"
44
targets = ["wasm32-unknown-unknown"]
5-

‎src/components/aprende/books.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ fn Book(
132132
view! {
133133
<div class="flex gap-2 items-center bg-orange-200 rounded-md px-2 py-3">
134134
<p class="font-work-sans text-black text-sm">
135-
"ℹ️ Este Libro está marcado como incompleto"
135+
"Este Libro está marcado como incompleto!"
136136
</p>
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

+6-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ 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
72+
href=format!("https://www.youtube.com/@{}", username)
73+
size="tiny"
74+
class="p-2"
75+
>
7276
"Youtube"
7377
</ButtonLink>
7478
{if twitch {
@@ -77,6 +81,7 @@ fn YoutubeCard(
7781
<ButtonLink
7882
href=format!("https://www.twitch.tv/{}", username)
7983
size="tiny"
84+
class="p-2"
8085
>
8186
"Twitch"
8287
</ButtonLink>

0 commit comments

Comments
 (0)