mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
page card update - align icon and title text
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
flex-direction: column;
|
||||
|
||||
gap: 8px;
|
||||
padding: 16px 0 18px 0;
|
||||
padding: 20px 0 18px 0;
|
||||
}
|
||||
|
||||
.mdx-page-card__title {
|
||||
|
||||
@@ -46,13 +46,16 @@ export const PageCard: React.FC<PageCardProps> = ({
|
||||
>
|
||||
{title}
|
||||
</Typography>
|
||||
<Typography
|
||||
className="mdx-page-card__description"
|
||||
component="span"
|
||||
variant="body2"
|
||||
>
|
||||
{description}
|
||||
</Typography>
|
||||
|
||||
{!!description && (
|
||||
<Typography
|
||||
className="mdx-page-card__description"
|
||||
component="span"
|
||||
variant="body2"
|
||||
>
|
||||
{description}
|
||||
</Typography>
|
||||
)}
|
||||
</div>
|
||||
</Link>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user