Skip to content

Commit a53688f

Browse files
fix(unity-bootstrap-theme): fix profile squishing grid view
1 parent d8a39aa commit a53688f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/unity-bootstrap-theme/src/scss/extends/_person-profile.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,13 @@ Desktop styles
126126
margin-bottom: 16px;
127127
.profile-img-placeholder {
128128
width: var(--grid-pic-size);
129-
height: var(--grid-pic-size);
129+
height: fit-content;
130130
max-width: 100%;
131131
.profile-img {
132132
width: var(--grid-pic-size);
133-
height: var(--grid-pic-size);
134133
max-width: 100%;
134+
height: auto;
135+
aspect-ratio: 1 / 1;
135136
}
136137
}
137138
}

0 commit comments

Comments
 (0)