Skip to content

Commit 842b737

Browse files
committed
Photo position centered
1 parent 7e98f86 commit 842b737

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

_includes/team_member.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
sizes = "150px"
1111
alt="project thumbnail"
1212
class="rounded-circle img-fluid z-depth-1"
13-
style="width: 150px; height: 150px; object-fit: cover;"
13+
style="width: 150px; height: 150px; object-fit: cover; object-position: {% if project.img_pos %}{{ project.img_pos }}{% else %}center{% endif %};"
1414
%}
1515
</div>
1616
{% endif %}

_team/ku.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ layout: page
33
title: Dr. Benson Ku
44
description: Assistant Professor at Emory University
55
img: https://med.emory.edu/departments/psychiatry/_images/ku_benson_updatedheadshot.jpg
6+
img_pos: center top
67
importance: 4
78
category: Collaborators
89
---

0 commit comments

Comments
 (0)