summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-01-03 16:52:33 +0200
committerKyren223 <Kyren223@proton.me>2025-01-03 16:52:33 +0200
commit1bb1ebe5784a2c7686a78f8a558ff6eb9be2aa61 (patch)
treef6e9e3ee930ce90e4ca18bfe43898ab333050c32 /src/components
parent26a42509b92a7b0c4712e1496b614e2cbc3e68e2 (diff)
Added mobile support for projects
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Project.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Project.astro b/src/components/Project.astro
index fb7d029..2279cca 100644
--- a/src/components/Project.astro
+++ b/src/components/Project.astro
@@ -12,12 +12,12 @@ interface Props {
const { title, description, href, cd = "cd ~/projects/" } = Astro.props;
---
-<div class="flex-column">
+<div class="flex-column mt-[1vw] mx-[1vw] mb-[5vw] sm:m-0">
<TerminalBorder>
<span>
<h1 class="inline-block text-[130%] text-[var(--accent)]">{title}</h1>
<p class="inline-block text-[var(--secondary)]">{description}</p>
- <span class="block my-[0.625vw]"><slot /></span>
+ <span class="block my-[3vw] sm:my-[0.625vw]"><slot /></span>
</span>
</TerminalBorder>
<TerminalBorder header="Shell">