Skip to content

Commit d1ace04

Browse files
committed
fixed header and buttons responsive issue
1 parent 18d172c commit d1ace04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/(public)/_components/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function Button({
1414
<div className="relative inline-block m-3 group w-fit">
1515
<button
1616
className={cn(
17-
'bg-hacktoberfest-black hover:bg-hacktoberfest-dark-green btn btn-lg text-hacktoberfest-light rounded-2xl leading-none border-none',
17+
'bg-hacktoberfest-black hover:bg-hacktoberfest-dark-green btn btn-lg text-hacktoberfest-light rounded-2xl leading-none border-none h-auto p-2',
1818
className
1919
)}
2020
{...props}

src/app/(public)/_components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function Header() {
1313
return (
1414
<header className="border-b-[0.5px] border-dashed border-b-hacktoberfest-light-green mb-5">
1515
<div className="container px-4 py-2 mx-auto">
16-
<div className="justify-between shadow-lg navbar">
16+
<div className="justify-between shadow-lg navbar gap-2">
1717
<Link href="/">
1818
<img
1919
src="/horizontal_beige.png"

0 commit comments

Comments
 (0)