-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
@@ -86,3 +86,15 @@ the right of the content (when unstacked). | |||
margin-block-start: 24px; | |||
} | |||
} | |||
|
|||
.project-page__side-content-item-same-role { |
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.
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; |
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.
px
not needed here, can just be 0
.
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.
Couple of very minor CSS things. But overall approach is fine 👍
No description provided.