File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed
Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -483,6 +483,12 @@ a.no-decoration {
483483 overflow-wrap : anywhere;
484484}
485485
486+ .teaminfo .team-thumbnail {
487+ width : 75% ;
488+ height : auto;
489+ margin : auto;
490+ }
491+
486492.teaminfo .team-photo {
487493 width : 100% ;
488494 height : auto;
@@ -528,3 +534,15 @@ a.no-decoration {
528534 background-color : transparent;
529535 }
530536}
537+
538+ @media (max-width : 1199px ) {
539+ .teaminfo .team-thumbnail {
540+ width : 80% ;
541+ }
542+ }
543+
544+ @media (max-width : 991px ) {
545+ .teaminfo .team-thumbnail {
546+ width : 100% ;
547+ }
548+ }
Original file line number Diff line number Diff line change @@ -172,10 +172,12 @@ export default function TeamInfo({ requestedTeamId }: TeamInfoProps) {
172172 </ h1 >
173173 </ div >
174174 { siteconfig . features . photo ? (
175- < FixedRatioThumbnail
176- url = { team . photo ! }
177- ratio = { siteconfig . ui . photoAspectRatio }
178- />
175+ < div className = "team-thumbnail" >
176+ < FixedRatioThumbnail
177+ url = { team . photo ! }
178+ ratio = { siteconfig . ui . photoAspectRatio }
179+ />
180+ </ div >
179181 ) : null }
180182 { team . comment ? < TeamComment comment = { team . comment } /> : null }
181183 < div className = "row" > { memberElements } </ div >
You can’t perform that action at this time.
0 commit comments