Skip to content

Commit

Permalink
fix for project's height
Browse files Browse the repository at this point in the history
  • Loading branch information
gxskpo committed Nov 10, 2024
1 parent ffe4540 commit 4440f66
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pub fn Project(
};

view! {
<a href=url target="_blank">
<article class="project">
<a href=url target="_blank" class="project">
<article class="">
<span class="projectInfo">
<img src=icon_url alt="Project Icon" />
<span class="projectText">
Expand Down
1 change: 0 additions & 1 deletion src/components/showcase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ pub fn Showcase() -> impl IntoView {
>
<icons::Astro />
</Project>

</Page>
</section>
}
Expand Down
9 changes: 7 additions & 2 deletions styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ body {
@apply flex flex-col gap-4 h-full;
}

.info > * {
height: -webkit-fill-available;
}

.aboutMe {
@apply rounded-3xl p-2;
background: var(--background);
Expand Down Expand Up @@ -226,7 +230,8 @@ body {
}

.projectsContainer {
@apply relative grid-cols-2 p-4 mt-1.5 gap-4 hidden rounded-3xl h-full;
@apply relative grid-cols-2 p-4 mt-1.5 gap-4 hidden rounded-3xl h-[31rem];
overflow-y: scroll;
box-shadow: var(--shadow1);
}

Expand All @@ -239,7 +244,7 @@ body {
}

.project {
@apply rounded-xl p-2 duration-200;
@apply rounded-xl p-2 duration-200 h-min;
box-shadow: var(--shadow0);
}

Expand Down

0 comments on commit 4440f66

Please sign in to comment.