style: Make URL text clickable and underline on hover

This commit is contained in:
Your Name (aider) committed 2025-04-28 06:12:46 +08:00
1 parent 1f75d644c1
commit 43056e801d
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@
<div class="flex-1 text-left">
<div>
<p class="mt-0 mb-0.5">
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best way to manage cables under your desk.</a></strong> <span class="text-xs">(coworkingspaceph.com)</span>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best way to manage cables under your desk.</a></strong> <a href="https://coworkingspaceph.com" class="url-text">(coworkingspaceph.com)</a>
</p>
<!-- Post title header -->
<div class="mt-0 mb-1 text-sm flex items-center">
+4
View File
@@ -81,6 +81,10 @@
.post-header .upvote-count {
@apply text-text-muted text-sm;
}
.url-text {
@apply text-xs text-primary hover:underline;
}
}
/* Any absolutely custom styles that don't fit in Tailwind's utility pattern */