Skip to content

Commit 0fe32bd

Browse files
Fix homepage text width inconsistency
- Removed `max-w-[600px]` from paragraphs in the Hero section of `src/pages/index.astro`. - This ensures the text aligns with the titles (max-width 1000px) on desktop, while remaining responsive on mobile.
1 parent 9c8b4f2 commit 0fe32bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/index.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ import {
122122
I build things for the web.
123123
</h2>
124124
<p
125-
class="text-[var(--slate)] text-lg md:text-xl max-w-[600px] leading-relaxed mb-8 md:mb-12"
125+
class="text-[var(--slate)] text-lg md:text-xl leading-relaxed mb-8 md:mb-12"
126126
>
127127
Greetings! I'm a seasoned software engineer from
128128
Nepal 🇳🇵 with over nine years of experience crafting
129129
elegant solutions in software development.
130130
</p>
131131
<p
132-
class="text-[var(--slate)] text-lg md:text-xl max-w-[600px] leading-relaxed mb-8 md:mb-12"
132+
class="text-[var(--slate)] text-lg md:text-xl leading-relaxed mb-8 md:mb-12"
133133
>
134134
Currently based in Japan 🇯🇵, I combine my passion
135135
for problem-solving with technical expertise to
@@ -138,7 +138,7 @@ import {
138138
APIs, and backend systems.
139139
</p>
140140
<p
141-
class="text-[var(--slate)] text-lg md:text-xl max-w-[600px] leading-relaxed mb-12 md:mb-14"
141+
class="text-[var(--slate)] text-lg md:text-xl leading-relaxed mb-12 md:mb-14"
142142
>
143143
My journey in technology began from writing code out
144144
of necessity and has grown into a creative pursuit

0 commit comments

Comments
 (0)