Skip to content

Commit ddd7cbd

Browse files
committed
fix: v0.6.2 - adjust PDF layout for better spacing
1 parent d64b9b6 commit ddd7cbd

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.6.2] - 2025-12-10
6+
7+
### Fixes
8+
9+
- Adjusted PDF layout for better spacing.
10+
511
## [0.6.1] - 2025-12-10
612

713
### Fixes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pixels-portfolio",
33
"description": "Alex Jankowiak's Personal Portfolio & CV",
4-
"version": "0.6.1",
4+
"version": "0.6.2",
55
"private": true,
66
"author": "Alex Jankowiak <me@pixp.cc>",
77
"trustedDependencies": [

public/cv.pdf

-520 KB
Binary file not shown.

src/pages/pdf.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ const shouldRenderSection = (section: keyof typeof sections) => sections[section
3434
<body class="flex flex-col bg-white">
3535
{
3636
shouldRenderSection('main') && (
37-
<div class="mb-4">
37+
<div class="mb-2">
3838
<MainSection {...sections.main} />
3939
</div>
4040
)
4141
}
4242
{
4343
shouldRenderSection('skills') && (
44-
<div class="mb-4">
44+
<div class="mb-2">
4545
<SkillsSection {...sections.skills} />
4646
</div>
4747
)
@@ -55,21 +55,21 @@ const shouldRenderSection = (section: keyof typeof sections) => sections[section
5555
}
5656
{
5757
shouldRenderSection('portfolio') && (
58-
<div class="mb-4 break-before-page">
58+
<div class="mb-9 break-before-page">
5959
<PortfolioSection {...sections.portfolio} />
6060
</div>
6161
)
6262
}
6363
{
6464
shouldRenderSection('education') && (
65-
<div class="">
65+
<div class="mb-7">
6666
<EducationSection {...sections.education} />
6767
</div>
6868
)
6969
}
7070
{
7171
shouldRenderSection('testimonials') && (
72-
<div class="mb-4">
72+
<div class="">
7373
<TestimonialsSection {...sections.testimonials} />
7474
</div>
7575
)

src/pdf/components/list-item-heading.astro

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ const { title, subtitle, dates, iconLink } = Astro.props;
1414
---
1515

1616
<div>
17-
<div class="flex items-start justify-between">
18-
<div>
19-
<div class="text-lg font-extrabold text-gray-900">{title}</div>
20-
{subtitle && <div class="text-md -mt-0.5 font-medium text-gray-700">{subtitle}</div>}
21-
</div>
17+
<div class="flex items-center justify-between">
18+
<div class="text-lg font-extrabold text-gray-900">{title}</div>
2219
{
2320
iconLink ? (
2421
<a
@@ -29,8 +26,9 @@ const { title, subtitle, dates, iconLink } = Astro.props;
2926
{iconLink.value}
3027
</a>
3128
) : (
32-
dates && <DateRangeTag class="mt-0.5" dates={dates} />
29+
dates && <DateRangeTag dates={dates} />
3330
)
3431
}
3532
</div>
33+
{subtitle && <div class="text-md -mt-0.5 font-medium text-gray-700">{subtitle}</div>}
3634
</div>

0 commit comments

Comments
 (0)