Skip to content

Commit f6bf1e3

Browse files
committed
fix: layout for extra thin devices
1 parent c10e5ee commit f6bf1e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/landing/namecard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Namecard() {
1616
delay: 0.5,
1717
}}
1818
>
19-
<h1 className="text-[350%] font-semibold">
19+
<h1 className="text-[250%] font-semibold sm:text-[350%]">
2020
Vincent{isMobile ? " Qi" : "'s Portfolio"}
2121
</h1>
2222
</motion.div>

src/components/landing/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const NavbarButton = ({ text, page }: { text: string; page: Page }) => {
2323
style={{
2424
borderBottomColor: page === current ? "#FFFFFFFF" : "#00000000",
2525
}}
26-
className="cursor-pointer border-b-2 text-[90%] transition-all lg:text-lg"
26+
className="cursor-pointer border-b-2 text-[80%] transition-all sm:text-[90%] lg:text-lg"
2727
>
2828
{text}
2929
</motion.div>

0 commit comments

Comments
 (0)