style: Improve notification text styles and spacing
This commit is contained in:
1 parent
a2865c2421
commit
eba64be769
1 file changed
+11
-13
@@ -4,34 +4,32 @@
|
||||
<div class="notification-list space-y-4">
|
||||
<!-- Example Notification: Reply to Post -->
|
||||
<div class="pb-4 mb-4 border-b border-border-light">
|
||||
<small class="text-sm font-action mb-1 block">
|
||||
<a href="/user/user123" class="text-primary hover:underline">user123</a>
|
||||
<small class="text-sm mb-1 block">
|
||||
<a href="/user/user123" class="text-primary font-action hover:underline">user123</a>
|
||||
<span class="text-text-muted opacity-75">replied to your post:</span>
|
||||
<a href="/single-post/1" class="text-primary hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
||||
<a href="/single-post/1" class="text-primary font-action hover:underline">"The Saga of the Disappearing Ergonomic Chair Continues"</a>
|
||||
<span class="text-text-muted text-xs opacity-75 ml-1">2 hours ago</span>
|
||||
</small>
|
||||
<p class="text-text-muted text-sm mt-1 pl-4 border-l-2 border-gray-300">"I saw it near the vending machine!"</p>
|
||||
</div>
|
||||
|
||||
<!-- Example Notification: Upvote on Comment -->
|
||||
<div class="pb-4 mb-4 border-b border-border-light">
|
||||
<small class="text-sm font-action mb-1 block">
|
||||
<a href="/user/anotherUser" class="text-primary hover:underline">anotherUser</a>
|
||||
<small class="text-sm mb-1 block">
|
||||
<a href="/user/anotherUser" class="text-primary font-action hover:underline">anotherUser</a>
|
||||
<span class="text-text-muted opacity-75">upvoted your comment on:</span>
|
||||
<a href="/single-post/2#comment-5" class="text-primary hover:underline">"Found the perfect focus playlist"</a>
|
||||
<a href="/single-post/2#comment-5" class="text-primary font-action hover:underline">"Found the perfect focus playlist"</a>
|
||||
<span class="text-text-muted text-xs opacity-75 ml-1">5 hours ago</span>
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<!-- Example Notification: Reply to Comment -->
|
||||
<div class="pb-4 mb-4 border-b border-border-light">
|
||||
<small class="text-sm font-action mb-1 block">
|
||||
<a href="/user/helpfulHannah" class="text-primary hover:underline">helpfulHannah</a>
|
||||
<span class="text-text-muted opacity-75">replied to your comment on:</span>
|
||||
<a href="/single-post/3#comment-10" class="text-primary hover:underline">"Overheard near the coffee machine"</a>
|
||||
<span class="text-text-muted text-xs opacity-75 ml-1">1 day ago</span>
|
||||
<small class="text-sm mb-1 block">
|
||||
<a href="/user/helpfulHannah" class="text-primary font-action hover:underline">helpfulHannah</a>
|
||||
<span class="text-text-muted font-action opacity-75">replied to your comment on:</span>
|
||||
<a href="/single-post/3#comment-10" class="text-primary font-action hover:underline">"Overheard near the coffee machine"</a>
|
||||
<span class="text-text-muted text-xs font-action opacity-75 ml-1">1 day ago</span>
|
||||
</small>
|
||||
<p class="text-text-muted text-sm mt-1 pl-4 border-l-2 border-gray-300">"That happens all the time!"</p>
|
||||
</div>
|
||||
|
||||
<!-- Add more notifications here -->
|
||||
|
||||
Reference in new issue
Block a user