Skip to content

Commit

Permalink
fix: footer at the bottom of the screen (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
lacerdamurilo authored Dec 30, 2024
1 parent 1cd37b9 commit 8176652
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,18 @@ const NavigationRoute = ({ internalScreen: InternalScreen }) => {
const newUiEnabled = useNewUiEnabled();

return (
<div>
<div
style={{
display: 'flex',
flexDirection: 'column',
minHeight: '100%',
}}
>
<Navigation />
<InternalScreen />
{newUiEnabled ? <Footer /> : ''}
<div style={{ flex: 1 }}>
<InternalScreen />
</div>
{newUiEnabled && <Footer />}
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/newUi.scss
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ body {
}

.footer-container {
width: 1, 440px;
width: 100%;
height: 220px;
border-top: 1px solid var(--border-color);
display: flex;
Expand Down

0 comments on commit 8176652

Please sign in to comment.