Skip to content

Commit 7bfeddc

Browse files
Merge pull request #22229 from sarahsanders-docker/fix-summary-bar
fix: summary bar
1 parent 8567dda commit 7bfeddc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

layouts/shortcodes/summary-bar.html

+12-12
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424
<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">
2525
{{ 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>
2828
{{ range . }}
29-
<span class="flex-1">{{ . }}</span>
29+
<span>{{ . }}</span>
3030
<span class="icon-svg">
3131
{{ $icon := index $subscriptionIcons . }}
3232
{{ if $icon }}
@@ -41,9 +41,9 @@
4141

4242
{{ with $feature.availability }}
4343
{{ $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>
4747
{{ $availabilityText }}
4848
{{ range $key, $icon := $availabilityIcons }}
4949
{{ if in $availabilityText $key }}
@@ -55,19 +55,19 @@
5555
{{ end }}
5656

5757
{{ 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>
6161
<span class="icon-svg">
6262
{{ partial "icon" $requiresIcon }}
6363
</span>
6464
</div>
6565
{{ end }}
6666

6767
{{ 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>
7171
<span class="icon-svg">
7272
{{ partial "icon" $forIcon }}
7373
</span>

0 commit comments

Comments
 (0)