Fix image layout
This commit is contained in:
parent
103f3e1e8b
commit
c299849e87
@ -54,7 +54,8 @@
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 25em;
|
||||
}
|
||||
}
|
||||
}
|
@ -27,7 +27,7 @@ function mentors(edges) {
|
||||
const photo = edge.node.frontmatter.photo;
|
||||
|
||||
return <section key={`mentor_${id}`} id={`mentor_${id}`}>
|
||||
<div className="image fit">
|
||||
<div className="image main">
|
||||
<img src={withPrefix(`images/magprog/mentors/${photo}`)}
|
||||
alt={name}
|
||||
/>
|
||||
@ -67,7 +67,7 @@ function team(edges) {
|
||||
|
||||
return (
|
||||
<section key={`team_${id}`}>
|
||||
<div className="image fit">
|
||||
<div className="image main">
|
||||
<img src={withPrefix(`images/members/${photo}`)} alt={name}/>
|
||||
</div>
|
||||
<div className="content">
|
||||
|
Loading…
Reference in New Issue
Block a user