fix tag alignment
This commit is contained in:
parent
b8a463f009
commit
09b838819b
@ -27,9 +27,9 @@ const { title, description, url, duration, timestamp, tags } = Astro.props;
|
|||||||
<p class="">
|
<p class="">
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
<div class="flex flex-wrap gap-2">
|
<div class="flex flex-wrap gap-2 w-full">
|
||||||
{tags?.map((tag: string) => (
|
{tags?.map((tag: string) => (
|
||||||
<span class="-zag-text -zag-bg zag-transition px-2 py-1 text-sm font-semibold">
|
<span class="-zag-text -zag-bg zag-transition px-2 py-1 text-sm font-semibold rounded-md whitespace-nowrap overflow-hidden text-ellipsis max-w-[150px]" title={tag}>
|
||||||
{tag}
|
{tag}
|
||||||
</span>
|
</span>
|
||||||
))}
|
))}
|
||||||
|
@ -38,10 +38,10 @@ const { title, description, url, githubUrl, liveUrl, tags } = Astro.props;
|
|||||||
<p class="zag-text zag-transition">
|
<p class="zag-text zag-transition">
|
||||||
{description}
|
{description}
|
||||||
</p>
|
</p>
|
||||||
<div class="flex flex-row wrap gap-2">
|
<div class="flex flex-wrap gap-2 w-full">
|
||||||
{
|
{
|
||||||
tags.map((tag) => (
|
tags.map((tag) => (
|
||||||
<span class="-zag-text -zag-bg zag-transition px-2 py-1 text-sm font-semibold">
|
<span class="-zag-text -zag-bg zag-transition px-2 py-1 text-sm font-semibold rounded-md whitespace-nowrap overflow-hidden text-ellipsis max-w-[150px]" title={tag}>
|
||||||
{tag}
|
{tag}
|
||||||
</span>
|
</span>
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user