Skip to content

Commit f63decd

Browse files
authored
Merge pull request RustLangES#58 from arceprogramando/fixoverflow
fix:Overflow issue with the GitHub icon
2 parents 1cb1f0e + 25d3581 commit f63decd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
antes de empezar tienes que instalar estos programas
1111
- [Rust](https://rust-lang.org/tools/install)
1212
- [NodeJs](https://nodejs.org)
13-
- [Trunk](https://trunk.dev)
13+
- [Trunk](https://trunkrs.dev/)
1414

1515
## Requisitos Windows >= 10
1616
- [BusyBox](https://busybox.net/)

src/components/cards/project_card.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn ProjectCard(
2121
let current_color = (*colors.get(&button_bg_color).unwrap()).to_string();
2222

2323
view! {
24-
<div class="group flex flex-col gap-y-6 border border-black p-2 sm:p-6 hover:bg-orange-500 dark:hover:bg-zinc-900/40 bg-orange-100 dark:bg-black/40 drop-shadow-[0_0_0_rgba(0,0,0)] hover:drop-shadow-[-4px_-4px_0_rgba(0,0,0)] transition justify-between">
24+
<div class="group flex flex-col items-center sm:items-stretch gap-y-6 border border-black p-4 sm:p-6 hover:bg-orange-500 dark:hover:bg-zinc-900/40 bg-orange-100 dark:bg-black/40 drop-shadow-[0_0_0_rgba(0,0,0)] hover:drop-shadow-[-4px_-4px_0_rgba(0,0,0)] transition justify-between">
2525
<a href=link target="_blank">
2626
<div class="flex flex-col justify-between gap-y-2">
2727
{if brand_as_letter {
@@ -47,18 +47,18 @@ pub fn ProjectCard(
4747
<CardTitle texts=name/>
4848
<p class="mt-2 font-work-sans text-black dark:text-white">{description}</p>
4949
</div>
50-
<div class="flex gap-2 items-center mt-4">
50+
<div class="flex gap-4 sm:gap-0 justify-around items-center mt-4">
5151
<ButtonLink href=button_link size="tiny">
5252
{if button_text.is_empty() {
5353
name.join("")
5454
} else {
5555
button_text.to_string()
5656
}}
5757

58-
</ButtonLink>
59-
<span class="ml-auto">
58+
</ButtonLink>
59+
<span class="px-1">
6060
<GithubIcon size=30/>
61-
</span>
61+
</span>
6262
</div>
6363
</a>
6464
</div>

0 commit comments

Comments
 (0)