Skip to content

Commit

Permalink
Move footer to the bottom of page
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Jul 6, 2024
1 parent b402e92 commit 2db5077
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exports[`<Footer /> should render mobile version of footer 1`] = `
display: flex;
box-sizing: border-box;
max-width: 100%;
margin-top: auto;
margin-bottom: 0px;
-webkit-align-items: center;
-webkit-box-align: center;
Expand Down Expand Up @@ -102,6 +103,12 @@ exports[`<Footer /> should render mobile version of footer 1`] = `
text-align: center;
}
@media only screen and (max-width:768px) {
.c0 {
margin-top: auto;
}
}
@media only screen and (max-width:768px) {
.c0 {
margin-bottom: 0px;
Expand Down
1 change: 1 addition & 0 deletions src/app/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const Footer = memo(() => {
}}
margin={{
bottom: (isMobileOrTablet && !walletHasAccounts) || !isMobileOrTablet ? 'medium' : 'none',
top: 'auto',
}}
data-testid="footer"
gap={isMobileOrTablet ? '0' : '20px'}
Expand Down

0 comments on commit 2db5077

Please sign in to comment.