Skip to content

Commit

Permalink
[mgt-people] setting overflow to align with peoplelist verticaly (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
vogtn authored and shweaver-MSFT committed Jun 8, 2020
1 parent 26d898b commit d82f0d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion packages/mgt/src/components/mgt-people/mgt-people.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ mgt-people .people-list {
list-style-type: none;
margin: $list-margin;
padding: 0;
font-family: var(--default-font-family, "Segoe UI");
font-family: var(--default-font-family, 'Segoe UI');
font-style: normal;
font-weight: normal;
display: flex;
align-items: center;
}

:host .people-person,
mgt-people .people-person {
margin: $avatar-margin;
display: flex;
}
:host .overflow,
mgt-people .overflow {
span {
vertical-align: middle;
}
}
2 changes: 1 addition & 1 deletion packages/mgt/src/components/mgt-people/mgt-people.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class MgtPeople extends MgtTemplatedComponent {
people: this.people
}) ||
html`
<li>+${this.people.length - this.showMax}</li>
<li class="overflow"><span>+${this.people.length - this.showMax}<span></li>
`
: null}
</ul>
Expand Down

0 comments on commit d82f0d7

Please sign in to comment.