mirror of
https://github.com/tjsga/tj-sga-website-react.git
synced 2025-04-08 22:20:16 -04:00
Fix officer photo margins
This commit is contained in:
parent
27d8a3092a
commit
0661d619b7
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue
Block a user