mirror of https://github.com/docker/docs.git
Merge pull request #22229 from sarahsanders-docker/fix-summary-bar
fix: summary bar
This commit is contained in:
parent
8567dda09b
commit
7bfeddc570
|
@ -23,10 +23,10 @@
|
||||||
|
|
||||||
<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">
|
<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">
|
||||||
{{ with $feature.subscription }}
|
{{ with $feature.subscription }}
|
||||||
<div class="flex flex-wrap items-start gap-1">
|
<div class="flex flex-wrap gap-1">
|
||||||
<span class="font-bold whitespace-nowrap">Subscription:</span>
|
<span class="font-bold">Subscription:</span>
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
<span class="flex-1">{{ . }}</span>
|
<span>{{ . }}</span>
|
||||||
<span class="icon-svg">
|
<span class="icon-svg">
|
||||||
{{ $icon := index $subscriptionIcons . }}
|
{{ $icon := index $subscriptionIcons . }}
|
||||||
{{ if $icon }}
|
{{ if $icon }}
|
||||||
|
@ -41,9 +41,9 @@
|
||||||
|
|
||||||
{{ with $feature.availability }}
|
{{ with $feature.availability }}
|
||||||
{{ $availabilityText := . }}
|
{{ $availabilityText := . }}
|
||||||
<div class="flex flex-wrap items-start gap-1">
|
<div class="flex flex-wrap gap-1">
|
||||||
<span class="font-bold whitespace-nowrap">Availability:</span>
|
<span class="font-bold">Availability:</span>
|
||||||
<span class="flex-1">
|
<span>
|
||||||
{{ $availabilityText }}
|
{{ $availabilityText }}
|
||||||
{{ range $key, $icon := $availabilityIcons }}
|
{{ range $key, $icon := $availabilityIcons }}
|
||||||
{{ if in $availabilityText $key }}
|
{{ if in $availabilityText $key }}
|
||||||
|
@ -55,9 +55,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with $feature.requires }}
|
{{ with $feature.requires }}
|
||||||
<div class="flex flex-wrap items-start gap-1">
|
<div class="flex flex-wrap gap-1">
|
||||||
<span class="font-bold whitespace-nowrap">Requires:</span>
|
<span class="font-bold">Requires:</span>
|
||||||
<span class="flex-1">{{ . | markdownify }}</span>
|
<span>{{ . | markdownify }}</span>
|
||||||
<span class="icon-svg">
|
<span class="icon-svg">
|
||||||
{{ partial "icon" $requiresIcon }}
|
{{ partial "icon" $requiresIcon }}
|
||||||
</span>
|
</span>
|
||||||
|
@ -65,9 +65,9 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with $feature.for }}
|
{{ with $feature.for }}
|
||||||
<div class="flex flex-wrap items-start gap-1">
|
<div class="flex flex-wrap gap-1">
|
||||||
<span class="font-bold whitespace-nowrap">For:</span>
|
<span class="font-bold">For:</span>
|
||||||
<span class="flex-1">{{ . }}</span>
|
<span>{{ . }}</span>
|
||||||
<span class="icon-svg">
|
<span class="icon-svg">
|
||||||
{{ partial "icon" $forIcon }}
|
{{ partial "icon" $forIcon }}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue