fix(ui): size the approval card to its text so the answers sit beside it

This commit is contained in:
sam committed 2026-10-25 00:38:02 +11:00
1 parent eb124a90ee
commit bda360a497
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@ const long = computed(() => body.value.length > 1200);
<Section
title="Approve the plan"
:description="heading || undefined"
class="mt-4 mb-0 ring-1 ring-warn/40"
class="mt-4 mb-0 max-w-3xl ring-1 ring-warn/40"
>
<template #action>
<div class="flex items-center gap-2">
@@ -41,7 +41,7 @@ const long = computed(() => body.value.length > 1200);
</div>
</template>
<div class="relative">
<div :class="['max-w-[72ch] overflow-hidden text-sm leading-relaxed', long && !open && 'max-h-96']">
<div :class="['overflow-hidden text-sm leading-relaxed', long && !open && 'max-h-96']">
<ChatMarkdown :text="body" />
</div>
<div