mirror of
https://github.com/tjsga/tj-sga-website-react.git
synced 2025-04-18 18:50:16 -04:00
Fix officer photo margins
This commit is contained in:
parent
27d8a3092a
commit
0661d619b7
|
@ -43,15 +43,5 @@
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root"></div>
|
<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>
|
</body>
|
||||||
</html>
|
</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}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,9 +6,9 @@ import useQuery from '../hooks/useQuery';
|
||||||
export default function Committee() {
|
export default function Committee() {
|
||||||
let excomm =
|
let excomm =
|
||||||
useQuery<SGA.MemberDocument[]>(
|
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 (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user