Fixed scaling for blogs page

This commit is contained in:
2025-01-03 11:41:58 +02:00
parent 758ec11bb3
commit 1948192c98
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ interface Props {
const { title, description, date, href, header } = Astro.props;
---
<TerminalBorder header={header} footer={formatDate(date)} margin="0 0 20px;">
<TerminalBorder header={header} footer={formatDate(date)} margin="0 0 2vw;">
<span class="cursor-pointer group block w-full">
{
href ? (

View File

@@ -15,10 +15,10 @@ const blogs = (await getCollection("blogs"))
---
<Terminal path="blogs/">
<TerminalBorder header="Shell" margin="0.5rem 0 20px">
<TerminalBorder header="Shell" margin="0.625vw 0 1.5625vw">
<p>$ ls -lah -t --color=auto ~/blogs</p>
</TerminalBorder>
<div class="max-h-[18.5rem] overflow-y-auto">
<div class="max-h-[24vw] overflow-y-auto">
{
blogs.map((blog) => (
<>