Skip to content

Commit

Permalink
Fixed alignment in person card (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
shweaver-MSFT authored Sep 21, 2020
1 parent 52c77e3 commit 24dbe3c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions packages/mgt/src/components/mgt-person-card/mgt-person-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,22 @@ $person-card-background-color: var(--person-card-background-color, #ffffff);
display: grid;
grid-template-rows: auto 1fr;
grid-template-columns: auto 1fr;
grid-template-areas:
'image details'
'. icons';
padding: 15px 15px 20px 15px;

.person-image {
--presence-background-color: var(--person-card-background-color, #ffffff);
--presence-icon-color: var(--person-card-background-color, #ffffff);
--avatar-size: 75px;
.image {
grid-area: image;
.person-image {
--presence-background-color: var(--person-card-background-color, #ffffff);
--presence-icon-color: var(--person-card-background-color, #ffffff);
--avatar-size: 75px;
}
}

.details {
grid-area: details;
margin-left: 14px;
line-height: 1.15;
display: flex;
Expand Down Expand Up @@ -104,6 +111,7 @@ $person-card-background-color: var(--person-card-background-color, #ffffff);
}

.base-icons {
grid-area: icons;
display: flex;
-webkit-align-items: center;
align-items: center;
Expand Down

0 comments on commit 24dbe3c

Please sign in to comment.