Skip to content

Commit

Permalink
fix: add line breaks to service area name/description
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Dec 17, 2024
1 parent 16431cc commit 3775746
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/features/resource/components/additional-information.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,15 @@ export function AdditionalInformation({ resource }) {
<p className="font-bold">{t('service_area')}</p>
</div>
{resource?.serviceAreaName && (
<p className="text-sm">{resource.serviceAreaName}</p>
<p className="whitespace-break-spaces text-sm">
{resource.serviceAreaName}
</p>
)}

{resource?.serviceAreaDescription && (
<p className="text-sm">{resource.serviceAreaDescription}</p>
<p className="whitespace-break-spaces text-sm">
{resource.serviceAreaDescription}
</p>
)}
</div>
)}
Expand Down

0 comments on commit 3775746

Please sign in to comment.