Skip to content

Commit ae4fd87

Browse files
Fit height for short descriptions
1 parent 1cc6c78 commit ae4fd87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/[pullOrIssue=poi]/[org]/[repo]/[id=number]/PageRenderer.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@
172172
</div>
173173
<div class="mt-4 flex flex-col gap-4">
174174
<!-- Info -->
175-
<div class="mb-8 flex w-full flex-col gap-8 md:flex-row">
175+
<div class="mb-8 flex w-full flex-col gap-8 *:h-fit *:w-full *:rounded-xl *:border md:flex-row">
176176
<!-- Left part - body -->
177-
<div class="w-full rounded-xl border bg-muted/30">
177+
<div class="bg-muted/30">
178178
<!-- Author -->
179179
<div
180180
class="inline-flex w-full flex-col gap-1 border-b bg-muted/60 px-4 py-2 xs:flex-row xs:items-center xs:gap-0"
@@ -222,7 +222,7 @@
222222
</div>
223223
</div>
224224
<!-- Right part - info -->
225-
<div class="h-fit w-full rounded-xl border px-4 pb-3 md:w-2/5 md:max-w-xs">
225+
<div class="px-4 pb-3 md:w-2/5 md:max-w-xs">
226226
<h4 class="-mx-4 mb-4 border-b bg-muted/40 px-4 pb-1 pt-2 text-xl font-semibold">Info</h4>
227227
{#each rightPartInfo as { title, value }, i}
228228
{#if i > 0}

0 commit comments

Comments
 (0)