Skip to content

Commit 2362d6a

Browse files
committed
sponsors: Prevent excessive shrinking of sponsor tier titles
Tier names that can be wrapped, will be wrapped unless we prevent the flex child from shrinking excessively. This will help with adding a new tier in the next commit.
1 parent f86781d commit 2362d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/landing/sponsors.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const sponsors = [
189189
<div class="mb-[64px] relative">
190190
<div class="flex items-center mb-6">
191191
<span class="block w-full h-[1px] bg-[#d3d2d6]" />
192-
<span class="text-2xl font-semibold px-5">{tier.name}</span>
192+
<span class="text-2xl shrink-0 font-semibold px-5">{tier.name}</span>
193193
<span class="block w-full h-[1px] bg-[#d3d2d6]" />
194194
</div>
195195
<div class="flex flex-wrap items-center justify-center gap-4">

0 commit comments

Comments
 (0)