mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 07:19:45 +02:00
Fix large response banner height
This commit is contained in:
@@ -33,7 +33,7 @@ export function ConfirmLargeResponse({ children, response }: Props) {
|
|||||||
const isLarge = contentLength > tooLargeBytes;
|
const isLarge = contentLength > tooLargeBytes;
|
||||||
if (!showLargeResponse && isLarge) {
|
if (!showLargeResponse && isLarge) {
|
||||||
return (
|
return (
|
||||||
<Banner color="primary" className="h-full flex flex-col gap-3">
|
<Banner color="primary" className="flex flex-col gap-3">
|
||||||
<p>
|
<p>
|
||||||
Showing responses over{' '}
|
Showing responses over{' '}
|
||||||
<InlineCode>
|
<InlineCode>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export function Banner({ children, className, color }: Props) {
|
|||||||
'whitespace-pre-wrap',
|
'whitespace-pre-wrap',
|
||||||
'border border-dashed border-border bg-surface',
|
'border border-dashed border-border bg-surface',
|
||||||
'px-3 py-2 rounded select-auto',
|
'px-3 py-2 rounded select-auto',
|
||||||
'overflow-auto text-text',
|
'overflow-auto h-auto text-text',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
Reference in New Issue
Block a user