Skip to content

Commit

Permalink
Merge pull request #18 from dabigjoe6/update-footer
Browse files Browse the repository at this point in the history
Fix footer when subscription list is longer than screen height
  • Loading branch information
dabigjoe6 authored Aug 27, 2023
2 parents 7e8a5b7 + bac0d08 commit cea155c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ const Container = styled.div`
flex-direction: column;
align-items: center;
margin-top: 15px;
margin-bottom: 15px;
position: relative;
bottom: 5rem;
margin-bottom: 25px;
`;


Expand Down
2 changes: 1 addition & 1 deletion src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Layout = () => {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
height: min-content;
width: 100vw;
`;
return (
Expand Down
4 changes: 3 additions & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ const Container = styled.div`
justify-content: space-between;
flex-direction: column;
min-height: 100vh;
height: min-content;
box-sizing: border-box;
`;

const SubscriptionsContainer = styled.div`
height: 100vh;
height: min-content;
min-height: 80vh;
padding-top: 40px;
width: 100vw;
max-width: 500px;
Expand Down

0 comments on commit cea155c

Please sign in to comment.