mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
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:
1 parent
20dfbe9125
commit
e60179c8eb
5 files changed
+12
-4
No files matched your search
@@ -23,3 +23,4 @@ dist-ssr
|
||||
*.sln
|
||||
*.sw?
|
||||
/.junie/
|
||||
*.pdf
|
||||
Binary file not shown.
Binary file not shown.
+9
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user