Fix some things

This commit is contained in:
Gregory Schier
2023-04-04 16:56:45 -07:00
parent b913b74449
commit aa8c066f2d
5 changed files with 7 additions and 6 deletions

View File

@@ -8,13 +8,13 @@ interface Props {
export function ResponseHeaders({ headers }: Props) {
return (
<dl className="text-xs w-full font-mono">
<dl className="text-xs w-full h-full font-mono overflow-auto">
{headers.map((h, i) => {
return (
<HStack
space={3}
key={i}
className={classnames(i > 0 && 'border-t border-highlightSecondary', 'py-1')}
className={classnames(i > 0 ? 'border-t border-highlightSecondary py-1' : 'pb-1')}
>
<dd className="w-1/3 text-violet-600 select-text cursor-text">{h.name}</dd>
<dt className="w-2/3 select-text cursor-text break-all">{h.value}</dt>