|
23 | 23 |
|
24 | 24 | <div class="flex flex-col bg-gray-light-200 bg-opacity-75 dark:bg-gray-dark-300 dark:bg-opacity-75 border-l-4 border-gray-light-200 px-4 py-1 my-1 not-prose"> |
25 | 25 | {{ with $feature.subscription }} |
26 | | - <div class="flex flex-wrap items-start gap-1"> |
27 | | - <span class="font-bold whitespace-nowrap">Subscription:</span> |
| 26 | + <div class="flex flex-wrap gap-1"> |
| 27 | + <span class="font-bold">Subscription:</span> |
28 | 28 | {{ range . }} |
29 | | - <span class="flex-1">{{ . }}</span> |
| 29 | + <span>{{ . }}</span> |
30 | 30 | <span class="icon-svg"> |
31 | 31 | {{ $icon := index $subscriptionIcons . }} |
32 | 32 | {{ if $icon }} |
|
41 | 41 |
|
42 | 42 | {{ with $feature.availability }} |
43 | 43 | {{ $availabilityText := . }} |
44 | | - <div class="flex flex-wrap items-start gap-1"> |
45 | | - <span class="font-bold whitespace-nowrap">Availability:</span> |
46 | | - <span class="flex-1"> |
| 44 | + <div class="flex flex-wrap gap-1"> |
| 45 | + <span class="font-bold">Availability:</span> |
| 46 | + <span> |
47 | 47 | {{ $availabilityText }} |
48 | 48 | {{ range $key, $icon := $availabilityIcons }} |
49 | 49 | {{ if in $availabilityText $key }} |
|
55 | 55 | {{ end }} |
56 | 56 |
|
57 | 57 | {{ with $feature.requires }} |
58 | | - <div class="flex flex-wrap items-start gap-1"> |
59 | | - <span class="font-bold whitespace-nowrap">Requires:</span> |
60 | | - <span class="flex-1">{{ . | markdownify }}</span> |
| 58 | + <div class="flex flex-wrap gap-1"> |
| 59 | + <span class="font-bold">Requires:</span> |
| 60 | + <span>{{ . | markdownify }}</span> |
61 | 61 | <span class="icon-svg"> |
62 | 62 | {{ partial "icon" $requiresIcon }} |
63 | 63 | </span> |
64 | 64 | </div> |
65 | 65 | {{ end }} |
66 | 66 |
|
67 | 67 | {{ with $feature.for }} |
68 | | - <div class="flex flex-wrap items-start gap-1"> |
69 | | - <span class="font-bold whitespace-nowrap">For:</span> |
70 | | - <span class="flex-1">{{ . }}</span> |
| 68 | + <div class="flex flex-wrap gap-1"> |
| 69 | + <span class="font-bold">For:</span> |
| 70 | + <span>{{ . }}</span> |
71 | 71 | <span class="icon-svg"> |
72 | 72 | {{ partial "icon" $forIcon }} |
73 | 73 | </span> |
|
0 commit comments