Skip to content

Commit 11e2f13

Browse files
committed
alignment bug fix with grid consistency
1 parent bd684ab commit 11e2f13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/layouts/ReferenceItemLayout.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ const seenParams: Record<string, true> = {};
140140
<h2 class="mb-md text-h3">{t("Parameters")}</h2>
141141
{entry.data.params &&
142142
entry.data.params.map((param: ReferenceParam) => (
143-
<div class="grid grid-cols-8 gap-gutter-md text-body">
144-
<span class="col-span-2 text-body whitespace-normal break-words overflow-wrap-break-word">{param.name}</span>
143+
<div class="grid grid-cols-6 gap-gutter-md text-body">
144+
<span class="col-span-1 text-body whitespace-normal break-words overflow-wrap-break-word">{param.name}</span>
145145
<div
146-
class="col-span-6 [&_p]:m-0 [&_p]:inline [&_a]:underline"
146+
class="col-span-5 [&_p]:m-0 [&_p]:inline [&_a]:underline"
147147
>
148148
{param.type && <span>{param.type}: </span>}
149149
<span set:html={param.description} />

0 commit comments

Comments
 (0)