Adjust spacing between article paragraphs and subheadings
Update `mt-8 mb-4` to `mt-6 mb-2` for subheadings and `mb-5` to `mb-3` for paragraphs in Article.tsx to reduce vertical spacing. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 069d4324-6c40-4355-955e-c714a50de1ea Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/069d4324-6c40-4355-955e-c714a50de1ea/DGb2VKl
This commit is contained in:
4
.replit
4
.replit
@ -30,6 +30,10 @@ externalPort = 3003
|
|||||||
localPort = 43349
|
localPort = 43349
|
||||||
externalPort = 3000
|
externalPort = 3000
|
||||||
|
|
||||||
|
[[ports]]
|
||||||
|
localPort = 46881
|
||||||
|
externalPort = 4200
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
PORT = "5000"
|
PORT = "5000"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 207 KiB |
@ -200,14 +200,14 @@ export default function Article() {
|
|||||||
return (
|
return (
|
||||||
<h3
|
<h3
|
||||||
key={index}
|
key={index}
|
||||||
className="text-xl font-bold mt-8 mb-4 text-gray-900"
|
className="text-xl font-bold mt-6 mb-2 text-gray-900"
|
||||||
>
|
>
|
||||||
{part.content}
|
{part.content}
|
||||||
</h3>
|
</h3>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<p key={index} className="mb-5 whitespace-pre-wrap">
|
<p key={index} className="mb-3 whitespace-pre-wrap">
|
||||||
{part.content}
|
{part.content}
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user