Fix vertical alignment of post numbers and upvote arrows with titlesRetryClaude can make mistakes. Please double-check responses.

This commit is contained in:
Your Name committed 2025-04-28 05:01:52 +08:00
1 parent a6adab8d64
commit eea2597896
1 file changed
+71 -81
+71 -81
View File
@@ -60,23 +60,22 @@
<div class="post-list"> <div class="post-list">
<!-- Post 1 --> <!-- Post 1 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">1.</span> <span class="text-text-muted text-sm mr-1">1.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">[Ask] The saga of the disappearing ergonomic chair continues.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">[Ask] The saga of the disappearing ergonomic chair continues.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@deskdetective</small> <small class="text-text-muted text-xs hover:underline">@deskdetective</small>
<small class="text-text-muted ml-2 text-sm">1h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">12 comments</a></small> <small class="text-text-muted ml-2 text-xs">1h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">12 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -84,23 +83,22 @@
<!-- Post 2 --> <!-- Post 2 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">2.</span> <span class="text-text-muted text-sm mr-1">2.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Found the perfect focus playlist.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">Found the perfect focus playlist.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@flowstatefiend</small> <small class="text-text-muted text-xs hover:underline">@flowstatefiend</small>
<small class="text-text-muted ml-2 text-sm">3h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">5 comments</a></small> <small class="text-text-muted ml-2 text-xs">3h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">5 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -108,23 +106,22 @@
<!-- Post 3 --> <!-- Post 3 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">3.</span> <span class="text-text-muted text-sm mr-1">3.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Overheard near the coffee machine...</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">Overheard near the coffee machine...</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@wallflower</small> <small class="text-text-muted text-xd hover:underline">@wallflower</small>
<small class="text-text-muted ml-2 text-sm">5h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">8 comments</a></small> <small class="text-text-muted ml-2 text-xs">5h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">8 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -132,23 +129,22 @@
<!-- Post 4 --> <!-- Post 4 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">4.</span> <span class="text-text-muted text-sm mr-1">4.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">My standing desk setup 📸</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">My standing desk setup 📸</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@setupstylist</small> <small class="text-text-muted text-xs hover:underline">@setupstylist</small>
<small class="text-text-muted ml-2 text-sm">1d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">20 comments</a></small> <small class="text-text-muted ml-2 text-xs">1d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">20 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -156,23 +152,22 @@
<!-- Post 5 --> <!-- Post 5 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">5.</span> <span class="text-text-muted text-sm mr-1">5.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best coffee shops in town.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best coffee shops in town.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@coffeelover</small> <small class="text-text-muted text-xs hover:underline">@coffeelover</small>
<small class="text-text-muted ml-2 text-sm">2d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">15 comments</a></small> <small class="text-text-muted ml-2 text-xs">2d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">15 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -180,23 +175,22 @@
<!-- Post 6 --> <!-- Post 6 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">6.</span> <span class="text-text-muted text-sm mr-1">6.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to stay productive while working from home.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to stay productive while working from home.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@homeoffice</small> <small class="text-text-muted text-xs hover:underline">@homeoffice</small>
<small class="text-text-muted ml-2 text-sm">3d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">10 comments</a></small> <small class="text-text-muted ml-2 text-xs">3d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">10 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -204,23 +198,22 @@
<!-- Post 7 --> <!-- Post 7 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">7.</span> <span class="text-text-muted text-sm mr-1">7.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The art of desk organization.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">The art of desk organization.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@organizer</small> <small class="text-text-muted text-xs hover:underline">@organizer</small>
<small class="text-text-muted ml-2 text-sm">4d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">25 comments</a></small> <small class="text-text-muted ml-2 text-xs">4d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">25 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -228,23 +221,22 @@
<!-- Post 8 --> <!-- Post 8 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">8.</span> <span class="text-text-muted text-sm mr-1">8.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best ergonomic accessories for your desk.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best ergonomic accessories for your desk.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@ergonomics</small> <small class="text-text-muted text-xs hover:underline">@ergonomics</small>
<small class="text-text-muted ml-2 text-sm">5d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">30 comments</a></small> <small class="text-text-muted ml-2 text-xs">5d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">30 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -252,23 +244,22 @@
<!-- Post 9 --> <!-- Post 9 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">9.</span> <span class="text-text-muted text-sm mr-1">9.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best books for productivity.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best books for productivity.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@bookworm</small> <small class="text-text-muted text-xs hover:underline">@bookworm</small>
<small class="text-text-muted ml-2 text-sm">6d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">18 comments</a></small> <small class="text-text-muted ml-2 text-xs">6d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">18 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -276,23 +267,22 @@
<!-- Post 10 --> <!-- Post 10 -->
<div class="mb-2"> <div class="mb-2">
<article class="flex items-center"> <article class="flex">
<div class="mr-2 flex items-center"> <div class="flex items-start mt-1 mr-2">
<span class="text-text-muted text-sm">10.</span> <span class="text-text-muted text-sm mr-1">10.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a> <a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
</div> </div>
<div class="flex-1 text-left"> <div class="flex-1 text-left">
<div> <div>
<p> <p class="mt-0">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best tools for remote work.</a></strong> <strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best tools for remote work.</a></strong>
</p> </p>
<!-- Post title header --> <!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center"> <div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@remoteworker</small> <small class="text-text-muted text-xs hover:underline">@remoteworker</small>
<small class="text-text-muted ml-2 text-sm">7d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">22 comments</a></small> <small class="text-text-muted ml-2 text-xs">7d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">22 comments</a></small>
</div> </div>
</div> </div>
</div> </div>
</article> </article>
@@ -315,7 +305,7 @@
<footer class="max-w-screen-lg mx-auto bg-bg-footer py-8 px-6 text-text-muted border-t border-navbar-border"> <footer class="max-w-screen-lg mx-auto bg-bg-footer py-8 px-6 text-text-muted border-t border-navbar-border">
<div class="text-center"> <div class="text-center">
<p> <p>
Seen something today? Don’t let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>. Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
</p> </p>
<div class="mt-4 text-sm"> <div class="mt-4 text-sm">
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Guidelines</a> | <a href="#" class="text-text-muted mx-2 no-underline hover:underline">Guidelines</a> |