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

group project roles together #162

Merged
merged 3 commits into from
Aug 13, 2024
Merged

group project roles together #162

merged 3 commits into from
Aug 13, 2024

Conversation

sarahframe
Copy link

No description provided.

@@ -86,3 +86,15 @@ the right of the content (when unstacked).
margin-block-start: 24px;
}
}

.project-page__side-content-item-same-role {
Copy link

@liamjohnston liamjohnston Aug 13, 2024

Choose a reason for hiding this comment

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

In the world of BEM, the same-role part is a "modifier" (M). In which case, the class name should be: project-page__side-content-item--same-role (note the double-hyphen before "same").There's probably a way to do this without a new classname but I don't have time to test that rn, so this approach is fine.


.project-page__side-content-item {
& + .project-page__side-content-item-same-role {
margin-block-start: 0px;

Choose a reason for hiding this comment

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

px not needed here, can just be 0.

Copy link

@liamjohnston liamjohnston left a comment

Choose a reason for hiding this comment

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

Couple of very minor CSS things. But overall approach is fine 👍

@sarahframe sarahframe merged commit 713ffe5 into main Aug 13, 2024
3 of 5 checks passed
@sarahframe sarahframe deleted the fix/group-project-roles branch August 13, 2024 21:02
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