Skip to content

Commit 63e5c74

Browse files
authored
1 parent feb4a41 commit 63e5c74

File tree

1 file changed

+27
-26
lines changed
  • frontend/routes/package/(_components)

1 file changed

+27
-26
lines changed

frontend/routes/package/(_components)/Docs.tsx

+27-26
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function DocsView({
8686
/>
8787
<div class="ddoc hidden" id="docSearchResults" />
8888

89-
<div class="flex justify-between items-center gap-4">
89+
<div class="flex justify-between lg:flex-nowrap flex-wrap items-center gap-4">
9090
{showProvenanceBadge && selectedVersion.rekorLogId && (
9191
<div class="mt-8 mb-8 border-2 border-jsr-cyan-500 max-w-xl rounded-md py-4 px-6">
9292
<div class="flex flex-row items-end justify-between">
@@ -96,34 +96,35 @@ export function DocsView({
9696
</span>
9797

9898
<div class="flex gap-2 items-center">
99-
<span class="text-2xl font-bold">GitHub Actions</span>
100-
<svg
101-
aria-hidden="true"
102-
role="img"
103-
class="text-green-600"
104-
viewBox="0 0 16 16"
105-
width="20"
106-
height="20"
107-
fill="currentColor"
108-
style="display: inline-block; user-select: none; vertical-align: text-bottom;"
109-
>
110-
<path
111-
fill-rule="evenodd"
112-
d="M9.585.52a2.678 2.678 0 00-3.17 0l-.928.68a1.178 1.178 0 01-.518.215L3.83 1.59a2.678 2.678 0 00-2.24 2.24l-.175 1.14a1.178 1.178 0 01-.215.518l-.68.928a2.678 2.678 0 000 3.17l.68.928c.113.153.186.33.215.518l.175 1.138a2.678 2.678 0 002.24 2.24l1.138.175c.187.029.365.102.518.215l.928.68a2.678 2.678 0 003.17 0l.928-.68a1.17 1.17 0 01.518-.215l1.138-.175a2.678 2.678 0 002.241-2.241l.175-1.138c.029-.187.102-.365.215-.518l.68-.928a2.678 2.678 0 000-3.17l-.68-.928a1.179 1.179 0 01-.215-.518L14.41 3.83a2.678 2.678 0 00-2.24-2.24l-1.138-.175a1.179 1.179 0 01-.518-.215L9.585.52zM7.303 1.728c.415-.305.98-.305 1.394 0l.928.68c.348.256.752.423 1.18.489l1.136.174c.51.078.909.478.987.987l.174 1.137c.066.427.233.831.489 1.18l.68.927c.305.415.305.98 0 1.394l-.68.928a2.678 2.678 0 00-.489 1.18l-.174 1.136a1.178 1.178 0 01-.987.987l-1.137.174a2.678 2.678 0 00-1.18.489l-.927.68c-.415.305-.98.305-1.394 0l-.928-.68a2.678 2.678 0 00-1.18-.489l-1.136-.174a1.178 1.178 0 01-.987-.987l-.174-1.137a2.678 2.678 0 00-.489-1.18l-.68-.927a1.178 1.178 0 010-1.394l.68-.928c.256-.348.423-.752.489-1.18l.174-1.136c.078-.51.478-.909.987-.987l1.137-.174a2.678 2.678 0 001.18-.489l.927-.68zM11.28 6.78a.75.75 0 00-1.06-1.06L7 8.94 5.78 7.72a.75.75 0 00-1.06 1.06l1.75 1.75a.75.75 0 001.06 0l3.75-3.75z"
99+
<span class="text-md md:text-2xl font-bold">
100+
GitHub Actions
101+
</span>
102+
<div class="flex items-start lg:items-center gap-1">
103+
<svg
104+
aria-hidden="true"
105+
role="img"
106+
class="text-green-600 size-4 md:size-5"
107+
viewBox="0 0 16 16"
108+
fill="currentColor"
109+
style="display: inline-block; user-select: none; vertical-align: text-bottom;"
113110
>
114-
</path>
115-
</svg>
111+
<path
112+
fill-rule="evenodd"
113+
d="M9.585.52a2.678 2.678 0 00-3.17 0l-.928.68a1.178 1.178 0 01-.518.215L3.83 1.59a2.678 2.678 0 00-2.24 2.24l-.175 1.14a1.178 1.178 0 01-.215.518l-.68.928a2.678 2.678 0 000 3.17l.68.928c.113.153.186.33.215.518l.175 1.138a2.678 2.678 0 002.24 2.24l1.138.175c.187.029.365.102.518.215l.928.68a2.678 2.678 0 003.17 0l.928-.68a1.17 1.17 0 01.518-.215l1.138-.175a2.678 2.678 0 002.241-2.241l.175-1.138c.029-.187.102-.365.215-.518l.68-.928a2.678 2.678 0 000-3.17l-.68-.928a1.179 1.179 0 01-.215-.518L14.41 3.83a2.678 2.678 0 00-2.24-2.24l-1.138-.175a1.179 1.179 0 01-.518-.215L9.585.52zM7.303 1.728c.415-.305.98-.305 1.394 0l.928.68c.348.256.752.423 1.18.489l1.136.174c.51.078.909.478.987.987l.174 1.137c.066.427.233.831.489 1.18l.68.927c.305.415.305.98 0 1.394l-.68.928a2.678 2.678 0 00-.489 1.18l-.174 1.136a1.178 1.178 0 01-.987.987l-1.137.174a2.678 2.678 0 00-1.18.489l-.927.68c-.415.305-.98.305-1.394 0l-.928-.68a2.678 2.678 0 00-1.18-.489l-1.136-.174a1.178 1.178 0 01-.987-.987l-.174-1.137a2.678 2.678 0 00-.489-1.18l-.68-.927a1.178 1.178 0 010-1.394l.68-.928c.256-.348.423-.752.489-1.18l.174-1.136c.078-.51.478-.909.987-.987l1.137-.174a2.678 2.678 0 001.18-.489l.927-.68zM11.28 6.78a.75.75 0 00-1.06-1.06L7 8.94 5.78 7.72a.75.75 0 00-1.06 1.06l1.75 1.75a.75.75 0 001.06 0l3.75-3.75z"
114+
>
115+
</path>
116+
</svg>
117+
<a
118+
href={`https://search.sigstore.dev/?logIndex=${selectedVersion.rekorLogId}`}
119+
target="_blank"
120+
rel="noopener noreferrer"
121+
class="text-xs lg:text-sm link"
122+
>
123+
View transparency log
124+
</a>
125+
</div>
116126
</div>
117127
</div>
118-
119-
<a
120-
href={`https://search.sigstore.dev/?logIndex=${selectedVersion.rekorLogId}`}
121-
target="_blank"
122-
rel="noopener noreferrer"
123-
class="text-sm link"
124-
>
125-
View transparency log
126-
</a>
127128
</div>
128129
</div>
129130
)}

0 commit comments

Comments
 (0)