Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(_index): remove large-bold class from Advanced content <h> tag #448

Closed
wants to merge 5 commits into from

Conversation

jrhender
Copy link
Collaborator

According to issue #420 , tags should only have colour and padding classes

According to issue #420 , tags should only have colour and padding classes
@melissasamworth
Copy link
Contributor

melissasamworth commented Feb 26, 2024

@jrhender great catch thanks! So it was that H tags should never have a class. But this should actually be a p tag! Can you, convert this tag to a p and add the class large-bold?

@@ -45,7 +45,7 @@ export default function App() {
<WidgetStampy />

<div className="padding-bottom-80" />
<h3 className="grey large-bold padding-bottom-32">Advanced content</h3>
<h3 className="grey padding-bottom-32">Advanced content</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh no so, we want it to be a p tag, I'm not using h3s.

<p className="grey large-bold padding-bottom-32">Advanced content</p>

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melissasamworth Thanks for the note. I changed the tag to a p.

Should it still have the padding-bottom-32 class? How can one get the desired padding from the figma?

@mruwnik mruwnik deleted the jrhender-420-advanced-content-h-tag branch March 10, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants