Skip to content

Commit b733c31

Browse files
author
Josh Ramos
committed
adjusted md preview div height on about page to prevent overflow
1 parent 00eec31 commit b733c31

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

components/About/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const About = () => {
3535
</div>
3636
{/* RIGHT SIDE */}
3737
<div className="col-span-4">
38-
<div className="rounded border border-[#595F6D] p-5 h-92 h-full">
38+
<div className="rounded border border-[#595F6D] p-5 h-92 h-3/5">
3939
<p className="text-xs">csesoc/README<span className="text-[#7A8192]">.md</span></p>
4040
<p className="mt-5">Lorem Ipsum</p>
4141
</div>

components/ResourcesAndContacts/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import Image from "next/image"
33

44
const ResourcesAndContacts = () => {
55
return (
6-
<section className="py-8 px-24 min-h-screen">
6+
<section className="py-8 px-15 min-h-screen">
77
<div className="text-center my-10">
88
<p className="text-[#3977F8] font-game text-xl">03</p>
9-
<h1 className="font-bold text-4xl">RESOURCES & CONTACTS</h1>
9+
<h1 className="font-bold text-5xl">RESOURCES & CONTACTS</h1>
1010
</div>
1111

1212
<div className="py-8 px-24">
@@ -137,7 +137,7 @@ const ResourcesAndContacts = () => {
137137
</div>
138138
</div>
139139

140-
<div className="bg-[#080036] mt-20">
140+
<div className="bg-[#080036] mt-20 p-5 rounded-lg">
141141
<div className="grid grid-cols-3 flex 1 gap-x-9 gap-y-5 p-5">
142142
<a href="https://bit.ly/CSESocDiscord" target="_blank" className="col-span-1 flex justify-center pt-2 pb-2 border border-[#595F6D] rounded-sm hover:bg-gray-100 hover:bg-opacity-10">
143143
<Image src="assets/discord_logo.svg" alt="" width={25} height={25} className="mr-1"/>
@@ -171,8 +171,7 @@ const ResourcesAndContacts = () => {
171171
</a>
172172
<a href="https://www.tiktok.com/@csesoc?lang=en" target="_blank">
173173
<Image src="assets/tiktok_logo.svg" alt="TikTok" width={35} height={35} className="mr-1 fill-white"/>
174-
</a>
175-
174+
</a>
176175
<a href="#" target="_blank">
177176
<Image src="assets/wechat_logo.svg" alt="weChat" width={40} height={40} className="mr-1 fill-white"/>
178177
</a>

0 commit comments

Comments
 (0)