mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-11 18:25:41 +00:00
Updated card styling
This commit is contained in:
parent
d2153b38e0
commit
90cf181681
@ -117,7 +117,7 @@ Card.Eyebrow = function CardEyebrow({
|
||||
<Component
|
||||
className={clsx(
|
||||
className,
|
||||
'relative z-10 order-first mb-3 flex items-center text-sm text-zinc-500 dark:text-zinc-400',
|
||||
'relative z-10 order-first flex items-center text-sm text-zinc-500 dark:text-zinc-400',
|
||||
decorate && 'pl-3.5'
|
||||
)}
|
||||
{...props}
|
||||
|
@ -72,7 +72,7 @@ function Article(article: Article) {
|
||||
<Card.Title href={`/writing/${article.slug}`}>
|
||||
{article.title}
|
||||
</Card.Title>
|
||||
<p className="flex order-first space-x-1 z-10">
|
||||
<p className="flex order-first space-x-1 z-10 mb-3">
|
||||
<Card.Eyebrow as="time" dateTime={article.date} decorate={false}>
|
||||
{formatDate(article.date)}
|
||||
</Card.Eyebrow>
|
||||
|
Loading…
Reference in New Issue
Block a user