Skip to content

Commit

Permalink
style: update styling for mindshare article cta component (#2337)
Browse files Browse the repository at this point in the history
Added p tag to the override props to apply color styling for the
description:

From:
![Screenshot 2024-01-25
051952](https://github.com/zesty-io/website/assets/70579069/9d3f2fdd-7c96-4511-a82e-110e927007a3)

To:
![Screenshot 2024-01-25
052010](https://github.com/zesty-io/website/assets/70579069/ba5a4332-7bf2-4a46-8eab-4cc418b631b7)

---------

Co-authored-by: root <root@PHLTZTIO002.gbs.local>
  • Loading branch information
2 people authored and darwin808 committed Jan 25, 2024
1 parent da14a79 commit a96ba1c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/views/zesty/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,13 @@ function CtaComponent({ title, description, ctaText, ctaLink }) {
<MuiMarkdown
options={{
overrides: {
p: {
component: Typography,
props: {
variant: 'body1',
color: '#D0D5DD',
},
},
span: {
component: Typography,
props: {
Expand Down

0 comments on commit a96ba1c

Please sign in to comment.