Skip to content

Commit b304653

Browse files
Fix sponsor tier style (#1329)
Fix for overlaping text <img width="458" alt="Screenshot_2025-06-16_at_17 50 39" src="https://github.com/user-attachments/assets/d5fe9bb0-f161-4373-82b6-17cb7b77995c" /> --------- Co-authored-by: Mia Bajić <[email protected]>
1 parent 23d15f4 commit b304653

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/sponsor-tiers/sponsor-tiers.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const formatPrice = (price: number | string) => {
215215
})
216216
.map((tier) => (
217217
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
218-
<div class="h-[160px]">
218+
<div class="min-h-[160px]">
219219
<Ribbon
220220
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
221221
style={{ zIndex: "-1", top: "-55px" }}
@@ -226,7 +226,7 @@ const formatPrice = (price: number | string) => {
226226
{tier.slotsLeft ? (
227227
<>
228228
<span>{tier.slotsLeft}</span>
229-
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
229+
{tier.slotsLeft == 1 ? "slot" : "slots"} available
230230
</>
231231
) : (
232232
<>Fully booked</>
@@ -269,7 +269,7 @@ const formatPrice = (price: number | string) => {
269269

270270
.map((tier) => (
271271
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
272-
<div class="h-[160px]">
272+
<div class="min-h-[160px]">
273273
<Ribbon
274274
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
275275
style={{ zIndex: "-1", top: "-55px" }}
@@ -282,7 +282,7 @@ const formatPrice = (price: number | string) => {
282282
) : tier.slotsLeft ? (
283283
<>
284284
<span>{tier.slotsLeft}</span>
285-
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
285+
{tier.slotsLeft == 1 ? "slot" : "slots"} available
286286
</>
287287
) : (
288288
<>Fully booked</>
@@ -325,7 +325,7 @@ const formatPrice = (price: number | string) => {
325325

326326
.map((tier) => (
327327
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
328-
<div class="h-[160px]">
328+
<div class="min-h-[160px]">
329329
<Ribbon
330330
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
331331
style={{ zIndex: "-1", top: "-55px" }}
@@ -338,7 +338,7 @@ const formatPrice = (price: number | string) => {
338338
) : tier.slotsLeft ? (
339339
<>
340340
<span>{tier.slotsLeft}</span>
341-
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
341+
{tier.slotsLeft == 1 ? "slot" : "slots"} available
342342
</>
343343
) : (
344344
<>Fully booked</>
@@ -381,7 +381,7 @@ const formatPrice = (price: number | string) => {
381381
})
382382
.map((tier) => (
383383
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
384-
<div class="h-[160px]">
384+
<div class="min-h-[160px]">
385385
<Ribbon
386386
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
387387
style={{ zIndex: "-1", top: "-55px" }}
@@ -392,7 +392,7 @@ const formatPrice = (price: number | string) => {
392392
{tier.slotsLeft ? (
393393
<>
394394
<span>{tier.slotsLeft}</span>
395-
{tier.slotsLeft == 1 ? "slot" : "slots"} availalbe
395+
{tier.slotsLeft == 1 ? "slot" : "slots"} available
396396
</>
397397
) : (
398398
<>Fully booked</>

0 commit comments

Comments
 (0)