Skip to content

Commit

Permalink
Fix showing section image on DAO dasbhoard metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed Nov 30, 2023
1 parent 4b6272b commit 7b2d9ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/daos/[daoAddress]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function DaoDashboardPage() {
},
body: {
...theme.styles.global.body,
zIndex: '-1',
background: daoMetadata.bodyBackground,
},
},
Expand All @@ -38,7 +39,7 @@ export default function DaoDashboardPage() {
return (
<ChakraProvider theme={activeTheme}>
<InfoHeader />
<ClientOnly mt={!!daoMetadata ? 8 : 12}>
<ClientOnly mt={!!daoMetadata ? 40 : 12}>
<Info />
<ERCO20Claim />
<Activities />
Expand Down
6 changes: 3 additions & 3 deletions src/components/pages/DaoDashboard/Info/InfoHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export default function InfoHeader() {
bg={daoMetadata.headerBackground}
justifyContent="center"
alignItems="center"
marginLeft="-3rem"
marginRight="-3rem"
width="calc(100% + 6rem)"
position="absolute"
left="4.25rem"
width="calc(100vw - 4.25rem)"
paddingTop={2}
paddingBottom={2}
flexDirection="column"
Expand Down

0 comments on commit 7b2d9ee

Please sign in to comment.