-
Notifications
You must be signed in to change notification settings - Fork 524
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
feat(curriculum): add numbers to modules and fixes #10805
Conversation
@@ -21,7 +29,7 @@ | |||
} | |||
} | |||
|
|||
p { | |||
p.module-topic { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Do we need to be this explicit?
p.module-topic { | |
.module-topic { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but we can. That's a discussion for having CSS guidelines in the future.
@@ -32,6 +40,20 @@ | |||
content: "Category: "; | |||
} | |||
} | |||
|
|||
p.module-group { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: dito
p.module-group { | |
.module-group { |
@@ -29,7 +29,9 @@ export function ModulesListList({ | |||
checked={i === tab} | |||
onChange={() => setTab(i)} | |||
/> | |||
<label htmlFor={`module-${i}`}>{modulesList.title}</label> | |||
<label htmlFor={`module-${i}`}> | |||
{modulesList.title.replace(/ modules$/, "")} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have title
and short_title
, instead of doing these replacements in the view?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that's just for the representation in this specific place for now.
Co-authored-by: Claas Augner <[email protected]>
This depends on mdn/curriculum#50
Summary
This resolves:
Screenshots
Before/After
How did you test this change?
Locally