improve relatedarticles layout
This commit is contained in:
parent
1089b32e26
commit
1ebdd2bd9c
3 changed files with 3 additions and 6 deletions
|
@ -9,7 +9,7 @@ const { href, link } = Astro.props;
|
|||
|
||||
<a href={`${href}`}>
|
||||
<div
|
||||
class="m-4 flex w-fit animate-reveal flex-row items-center gap-1 justify-self-center rounded-full bg-tertiary px-2 py-1 text-sm font-medium capitalize text-primary opacity-0 transition-colors [animation-delay:0.1s] hover:bg-accent"
|
||||
class="m-4 flex w-fit animate-reveal flex-row items-center gap-1 justify-self-center rounded-full bg-tertiary px-2 py-1 text-sm font-medium capitalize text-primary opacity-0 transition-colors [animation-delay:0.1s] hover:bg-accent text-center text-nowrap"
|
||||
>
|
||||
{link}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue