mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
style: 💄 Add text wrap balance in title card and center text for aling text when apply balance
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
alt={svgInfo.title}
|
||||
/>
|
||||
<div class="mb-3 flex flex-col items-center justify-center">
|
||||
<p class="truncate text-[15px] font-medium">{svgInfo.title}</p>
|
||||
<p class="truncate text-[15px] font-medium text-balance text-center">{svgInfo.title}</p>
|
||||
<a
|
||||
href={`/directory/${svgInfo.category.toLowerCase()}`}
|
||||
class="text-sm lowercase text-neutral-500 hover:underline">{svgInfo.category}</a
|
||||
|
||||
Reference in New Issue
Block a user