Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit806380e

Browse files
committed
Fixed padding inconsistencies with sticky navbar
1 parent77a78da commit806380e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

‎frontend/src/components/Navbar.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Navbar = () => {
1212
},[]);
1313

1414
return(
15-
<navclassName="sticky top-10 flex justify-between items-center relative z-10 shadow-lg rounded-md bg-white/15 backdrop-blur-md px-6 py-6">
15+
<navclassName="sticky top-0 flex justify-between items-center relative z-10 shadow-lg rounded-md bg-white/15 backdrop-blur-mdxl:px-24 md:px-10 px-5 py-6">
1616
<Linkhref="/">
1717
<Image
1818
src="/assets/csesoc_logo.svg"

‎frontend/src/pages/index.tsx‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ import EventsBrief from '@/components/Event/EventsBrief';
66

77
exportdefaultfunctionHomePage(){
88
return(
9-
<sectionclassName="flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative">
9+
<section>
10+
<divclassName="h-8"></div>
11+
1012
<Navbar/>
11-
<Landing/>
13+
14+
<divclassName="-mt-36">
15+
<Landing/>
16+
</div>
17+
1218
<AboutHomePage/>
1319
<EventsBrief/>
1420
<Sponsors/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp