refactor(docs-infra): scope contributor-list styles to the `<aio-contributor-list>` element (#40704)

This commit ensures that all styles for the contributor list (which are
defined in `_contributor.scss`) only apply to elements inside an
`<aio-contributor-list>` element. This will prevent the styles
accidentally taking effect on a different part of the app.

PR Close #40704
This commit is contained in:
George Kalpakas 2021-02-05 12:49:01 +02:00 committed by Alex Rickabaugh
parent cb4b8d9ab4
commit 7d45667873
1 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,11 @@
aio-contributor-list {
.contributor-group {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
@media handheld and (max-width: 480px), screen and (max-width: 900px) {
.grid-fluid {
margin-left: 20px;
@ -10,13 +17,6 @@ aio-contributor-list {
}
}
.contributor-group {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
aio-contributor {
background: $white;
margin: 8px;