Skip to content

Commit 4152179

Browse files
fix read more section to be phone responsive
1 parent fbd602c commit 4152179

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lark-ui/src/routes/+page.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -418,11 +418,11 @@ function playClick() {
418418

419419
<!-- Read More Section Start -->
420420
<section
421-
class="relative flex justify-center items-center bg-[#443B61] text-white py-16 px-4 sm:px-8"
421+
class="relative flex flex-col md:flex-row justify-center items-center bg-[#443B61] text-white py-16 px-4 sm:px-8"
422422
>
423423
<div class="flex flex-col gap-y-[1vw]">
424424

425-
<div class="flex items-center justify-center w-[80vw] gap-x-[1vw]">
425+
<div class="flex flex-col md:flex-row items-center justify-center w-[95vw] md:w-[80vw] gap-x-[1vw]">
426426

427427
<div class="flex flex-col w-full gap-y-[1vw] pb-[2vh]">
428428
<div class="bg-[#fee1c0]/0 rounded-xl w-full px-[2vw] py-[1vh]">
@@ -452,7 +452,7 @@ function playClick() {
452452
<img
453453
alt="The Hack Club Midnight Team"
454454
src="https://hc-cdn.hel1.your-objectstorage.com/s/v3/7ada8a0621f0f84c5059b856cdea1bc1ab3e4bf0_group_photo.png"
455-
class="rounded-xl mt-6 w-[37.5vw] object-cover"
455+
class="rounded-xl mt-[1vh] md:mt-6 w-[90vw] md:w-[37.5vw] object-cover"
456456
/>
457457

458458
</div>
@@ -461,12 +461,12 @@ function playClick() {
461461
<p class="font-['PT_Serif',_serif] font-bold text-[#443B61] text-[3.5vh] text-center">Build new projects, and learn with other highschoolers</p>
462462
</div>
463463

464-
<div class="w-[80vw] flex gap-[1vw]">
465-
<div class="w-2/10 bg-[#fee1c0] rounded-xl flex items-center justify-center p-[2vw]">
466-
<img alt="Midnight - A Murder Mystery" class="w-full h-auto block" style="object-fit: contain; background-repeat: no-repeat; background-size: contain;" src="/sad.png" />
464+
<div class="w-[95vw] md:w-[80vw] flex gap-[1vw]">
465+
<div class="w-2/10 bg-[#fee1c0] rounded-xl items-center justify-center p-[2vw] hidden md:flex">
466+
<img alt="The Crow" class="w-full h-auto block" style="object-fit: contain; background-repeat: no-repeat; background-size: contain;" src="/sad.png" />
467467
</div>
468468

469-
<div class="bg-[#f24b4b] w-8/10 rounded-xl px-[2vw] py-[2.5vh] flex items-center justify-center text-left">
469+
<div class="bg-[#f24b4b] w-full md:w-8/10 rounded-xl px-[2vw] py-[2.5vh] flex items-center justify-center text-left">
470470
<p class="text-[#fee1c0] font-['PT_Serif',_serif] font-bold text-[2.75vh]"> Hack Club Midnight is a two-month online-to-in-person hackathon in Vienna, bringing hackers together to build creative projects, connect through events, and experience a unique murder-mystery themed adventure.
471471
</p>
472472
</div>

0 commit comments

Comments
 (0)