File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,29 @@ Jump to [Principal Investigator](#principal-investigator), [Postdoctoral fellows
1414
1515---
1616
17+ <style >
18+ .profile-pic {
19+ width : 300px ;
20+ height : 300px ;
21+ object-fit : cover ; /* keeps aspect ratio, crops if needed */
22+ }
23+
24+ @media (max-width : 768px ) { /* for tablets/phones */
25+ .profile-pic {
26+ width : 250px ;
27+ height : 250px ;
28+ }
29+ }
30+ </style >
31+
32+
1733## Principal Investigator
1834<div class =" row " >
1935{% for member in site.data.team_pi %}
2036<div class =" col-sm-12 clearfix " >
21- <img src =" {{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }} " class =" img-responsive " width =" 15% " style =" float : left ; min-width : 30% ;" />
37+ <img src="{{ site.url }}{{ site.baseurl }}/images/teampic/{{ member.photo }}"
38+ class="img-responsive profile-pic"
39+ style="float: left;" />
2240 <h4 style =" display : inline-flex ; align-items : center ; gap : 6px ;" >
2341 {{ member.name }}
2442 {% if member.homepage %}
You can’t perform that action at this time.
0 commit comments