Skip to content

Commit

Permalink
Improve DNS results on mobile 📲
Browse files Browse the repository at this point in the history
  • Loading branch information
wotschofsky committed Dec 18, 2024
1 parent 824419b commit 53451c5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/lookup/[domain]/(dns)/_components/stacked-record.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ export const StackedRecord: FC<StackedRecordProps> = ({
}

return (
<div className="flex flex-col gap-1">
<div className="flex justify-between font-bold">
<span>{name}</span>
<span>{TTL}</span>
<div className="flex flex-col gap-2">
<div className="flex justify-between gap-4">
<span className="min-w-0 flex-1 break-words font-bold">{name}</span>
<span className="flex-shrink-0">{TTL}s</span>
</div>
<p className="break-words">{interpolatedValue}</p>
{subvalues && <RecordSubvalues subvalues={subvalues} />}
<p className="break-words">
{interpolatedValue}
{subvalues && <RecordSubvalues subvalues={subvalues} />}
</p>
</div>
);
};

0 comments on commit 53451c5

Please sign in to comment.