mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-05 06:39:43 +00:00
fix notification bullet margin
This commit is contained in:
parent
6034274906
commit
64b5d77919
2 changed files with 2 additions and 2 deletions
|
|
@ -132,7 +132,7 @@ export function ListView({
|
|||
</h3>
|
||||
</div>
|
||||
<div className="flex flex-col sm:flex-row items-start sm:items-center gap-1 sm:gap-2 order-1 sm:order-2">
|
||||
{/* Mobile: Source • Category */}
|
||||
{/* Mobile: Source & Category */}
|
||||
<div className="flex items-center gap-1 sm:hidden">
|
||||
{getCategoryColor(notification.category) && (
|
||||
<span
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ export function formatNotificationDescription(description: string): string {
|
|||
// Style bullet points
|
||||
.replace(
|
||||
/<p>• /g,
|
||||
'<p class="flex items-start gap-2"><span class="text-type-link mt-1">•</span><span>',
|
||||
'<p class="flex items-start gap-2"><span class="text-type-link">•</span><span>',
|
||||
)
|
||||
.replace(/<\/p>/g, "</span></p>")
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue