Update article display to adjust line spacing
Modified the `Article.tsx` component to change `leading-normal` to `leading-tight` for paragraph elements, reducing vertical spacing between lines. Also, an image file `article_paragraphs.png` was added, though its purpose is unclear from the diff alone. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 887925db-3598-4f1b-ade3-3c14f6e73e74 Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in:
4
.replit
4
.replit
@ -30,6 +30,10 @@ externalPort = 3003
|
||||
localPort = 43349
|
||||
externalPort = 3000
|
||||
|
||||
[[ports]]
|
||||
localPort = 44299
|
||||
externalPort = 4200
|
||||
|
||||
[env]
|
||||
PORT = "5000"
|
||||
|
||||
|
||||
BIN
article_paragraphs.png
Normal file
BIN
article_paragraphs.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
@ -207,7 +207,7 @@ export default function Article() {
|
||||
);
|
||||
}
|
||||
return (
|
||||
<p key={index} className="mb-3 whitespace-pre-wrap leading-normal">
|
||||
<p key={index} className="mb-3 whitespace-pre-wrap leading-tight">
|
||||
{part.content}
|
||||
</p>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user