Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.

Commit c22e257

Browse files
committed
fix: stopped gallery text overlapping with image selection
1 parent b3abf69 commit c22e257

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

src/pages/mahi/index.astro

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,11 @@ const supportResources = [
116116
height={400}
117117
/>
118118
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-6">
119+
<div class="p-3">
119120
<h3 class="text-white text-xl font-bold">Community Tech Sessions</h3>
120121
<p class="text-white/90">Weekly hands-on learning in your neighborhood</p>
121122
</div>
123+
</div>
122124
</div>
123125
<div class="slide">
124126
<Image
@@ -129,8 +131,10 @@ const supportResources = [
129131
height={400}
130132
/>
131133
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-6">
132-
<h3 class="text-white text-xl font-bold">Interactive Learning</h3>
133-
<p class="text-white/90">Student-directed exploration and projects</p>
134+
<div class="p-3">
135+
<h3 class="text-white text-xl font-bold bottom-2">Interactive Learning</h3>
136+
<p class="text-white/90 bottom-2">Student-directed exploration and projects</p>
137+
</div>
134138
</div>
135139
</div>
136140
<div class="slide">
@@ -142,8 +146,10 @@ const supportResources = [
142146
height={400}
143147
/>
144148
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-6">
149+
<div class="p-3">
145150
<h3 class="text-white text-xl font-bold">Competitions & Events</h3>
146151
<p class="text-white/90">Challenges that inspire and connect</p>
152+
</div>
147153
</div>
148154
</div>
149155
<div class="slide">
@@ -155,8 +161,10 @@ const supportResources = [
155161
height={400}
156162
/>
157163
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-6">
164+
<div class="p-3">
158165
<h3 class="text-white text-xl font-bold">Kaiako Support</h3>
159166
<p class="text-white/90">Professional development for educators</p>
167+
</div>
160168
</div>
161169
</div>
162170

0 commit comments

Comments
 (0)