Fix officer photo margins

This commit is contained in:
Michael Fatemi 2021-01-08 09:10:46 -05:00
parent 27d8a3092a
commit 0661d619b7
3 changed files with 5 additions and 13 deletions
public
src

View File

@ -43,15 +43,5 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

View File

@ -31,7 +31,9 @@ export default function MemberRow({
}}
/>
) : (
<img src={thumbnail} alt={member.name} />
<div style={{ marginLeft: 'auto', marginRight: '2em' }}>
<img src={thumbnail} alt={member.name} />
</div>
)
) : null}
</div>

View File

@ -6,9 +6,9 @@ import useQuery from '../hooks/useQuery';
export default function Committee() {
let excomm =
useQuery<SGA.MemberDocument[]>(
`*[_type == 'member' && committee == 'excomm'] | order (role, year desc)`
`*[_type == 'member' && committee == 'excomm'] | order (role, year)`
) ?? [];
// year desc because seniority 8)
// year because seniority
return (
<>