Skip to content

Commit

Permalink
D8CORE-7659: fixed sizing and shape of profile images
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Nov 22, 2024
1 parent 6ea5084 commit f1fe8e1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions src/scss/components/person/_person-lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,24 @@
}
}
}

// Override to Stanford Basic
// Teasers and lists
.view .su-person-photo img,
.view .su-person-photo picture {
max-width: unset;
}

.su-person-photo {
max-width: 220px;
}

// Node page
.su-person-photo img,
.su-person-photo picture {
border-radius: unset;
}

.person .su-person-photo {
max-width: 365px;
}

0 comments on commit f1fe8e1

Please sign in to comment.