mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
style: style updates for CallToActionSection and ShowcaseCard
This commit is contained in:
+4
@@ -91,6 +91,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.mdx-cta-section__title {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mdx-cta-section--full-width {
|
||||
.mdx-cta-section__container {
|
||||
display: grid;
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ export const CallToActionSection: React.FC<CallToActionSectionProps> = ({
|
||||
)}
|
||||
>
|
||||
<div className="mdx-cta-section__header">
|
||||
<Typography component="h2" className="mdx-cta-section__title">
|
||||
<Typography component="h2" className={clsx('mdx-cta-section__title')}>
|
||||
{title}
|
||||
</Typography>
|
||||
{href && ctaPosition === 'top' && (
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@
|
||||
}
|
||||
|
||||
.mdx-showcase-card__description {
|
||||
margin-top: 1.5rem;
|
||||
margin-top: 1rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -67,8 +67,8 @@ export const ShowcaseCard: React.FC<ShowcaseCardProps> = ({
|
||||
)}
|
||||
{name && (
|
||||
<Typography
|
||||
variant="h2"
|
||||
component="h2"
|
||||
variant="h4"
|
||||
component="h4"
|
||||
className="mdx-showcase-card__name"
|
||||
>
|
||||
{name}
|
||||
|
||||
Reference in New Issue
Block a user