Fixed scaling on projects page

This commit is contained in:
2025-01-03 11:34:51 +02:00
parent be3fcd8f93
commit 758ec11bb3
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ const { title, description, href, cd = "cd ~/projects/" } = Astro.props;
<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-2"><slot /></span>
<span class="block my-[0.625vw]"><slot /></span>
</span>
</TerminalBorder>
<TerminalBorder header="Shell">

View File

@@ -5,7 +5,7 @@ import Project from "@components/Project.astro";
<Terminal path="projects/">
<div class="w-full max-w-full">
<div class="grid gap-4 grid-cols-[2fr_1fr]">
<div class="grid gap-[1.25vw] grid-cols-[2fr_1fr]">
<div class="">
<Project
title="Kapi"
@@ -26,7 +26,7 @@ import Project from "@components/Project.astro";
????????? ???? ??????? ????? ???????? ??????
</Project>
</div>
<div class="col-span-2 grid grid-cols-[1fr_1fr_1fr] gap-4">
<div class="col-span-2 grid grid-cols-[1fr_1fr_1fr] gap-[1.25vw]">
<Project
title="Trident"
description="IntelliJ Plugin"