Skip to content

Commit d8e80d2

Browse files
authored
D8CORE-7659: fixed sizing and shape of profile images (#98)
1 parent e1fa02a commit d8e80d2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

dist/css/chem_h_subtheme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/components/person/_person-lists.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,24 @@
7272
}
7373
}
7474
}
75+
76+
// Override to Stanford Basic
77+
// Teasers and lists
78+
.view .su-person-photo img,
79+
.view .su-person-photo picture {
80+
max-width: unset;
81+
}
82+
83+
.su-person-photo {
84+
max-width: 220px;
85+
}
86+
87+
// Node page
88+
.su-person-photo img,
89+
.su-person-photo picture {
90+
border-radius: unset;
91+
}
92+
93+
.person .su-person-photo {
94+
max-width: 365px;
95+
}

0 commit comments

Comments
 (0)