fix(hero): add gap between mobile download buttons

- Add flex layout with 16px gap to hero-download-mobile and download-resume-mobile
- Remove inline style, use CSS only
This commit is contained in:
dong.nguyen committed 2026-10-12 16:19:55 +07:00
1 parent 20dfbe9125
commit e60179c8eb
5 files changed
+12 -4

No files matched your search

+1
View File
@@ -23,3 +23,4 @@ dist-ssr
*.sln
*.sw?
/.junie/
*.pdf
Binary file not shown.
BIN
View File
Binary file not shown.
+9 -2
View File
@@ -448,6 +448,7 @@
}
.hero-cta {
flex-direction: column;
gap: 16px;
}
.hero-cta .btn {
@@ -575,9 +576,15 @@
display: none;
}
.download-resume-mobile,
.download-resume-mobile {
display: flex;
flex-direction: column;
gap: 16px;
}
.hero-download-mobile {
display: block;
display: flex;
flex-direction: column;
gap: 16px;
}
}
+2 -2
View File
@@ -45,7 +45,7 @@ function HeroDownloadButton({ lang }: { lang: Language }) {
href={resumeUrlFor(lang)}
download
target="_blank"
className="btn btn-secondary hero-download-mobile-btn"
className="btn btn-primary hero-download-mobile-btn"
>
Download Resume ({langLabels[lang]})
</a>
@@ -155,7 +155,7 @@ export function Hero() {
</div>
</>
)}
<Button href="/contact" variant="secondary">
<Button href="/contact" variant="primary">
Contact Me
</Button>
</motion.div>