fix(ui): do not add extra spacing to every ant row. Closes #3031 (#3033)

This commit is contained in:
Gabe Kangas
2023-05-19 17:34:23 -07:00
committed by GitHub
parent f09ae62001
commit 4e1da3fa23
2 changed files with 11 additions and 9 deletions

View File

@@ -8,9 +8,7 @@
position: relative;
// add some spacing between the last row of content and the footer
:global(.ant-row) {
&:last-of-type {
margin-bottom: 5em;
}
.footerContainer {
margin-top: 5em;
}
}

View File

@@ -171,7 +171,11 @@ export const Main: FC = () => {
<FatalErrorStateModal title={fatalError.title} message={fatalError.message} />
)}
{(!isMobile || !online) && <Footer dynamicPaddingValue={dynamicFooterPadding} />}
{(!isMobile || !online) && (
<div className={styles.footerContainer}>
<Footer dynamicPaddingValue={dynamicFooterPadding} />
</div>
)}
</Layout>
<Noscript />
</>