Fix large response banner height

This commit is contained in:
Gregory Schier
2025-02-03 12:41:11 -08:00
parent a15176841b
commit 903bae2a18
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export function ConfirmLargeResponse({ children, response }: Props) {
const isLarge = contentLength > tooLargeBytes;
if (!showLargeResponse && isLarge) {
return (
<Banner color="primary" className="h-full flex flex-col gap-3">
<Banner color="primary" className="flex flex-col gap-3">
<p>
Showing responses over{' '}
<InlineCode>

View File

@@ -16,7 +16,7 @@ export function Banner({ children, className, color }: Props) {
'whitespace-pre-wrap',
'border border-dashed border-border bg-surface',
'px-3 py-2 rounded select-auto',
'overflow-auto text-text',
'overflow-auto h-auto text-text',
)}
>
{children}