File tree Expand file tree Collapse file tree
cra-rxjs-styled-components/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import styled from 'styled-components' ;
22
33export const Layout = styled . div `
4- height: calc(100% - 70px);
4+ height: calc(100% - 70px);
55 padding: 0 1rem;
6- background-color: rgb(255, 255, 255);
7- display: grid;
6+ background-color: rgb(255, 255, 255);
7+ display: grid;
88 overflow: hidden;
99
10- grid-template-columns: auto;
11- grid-template-areas:
12- 'header'
13- 'aside'
14- 'content'
15- 'footer';
16- }
10+ grid-template-columns: auto;
11+ grid-template-areas:
12+ 'header'
13+ 'aside'
14+ 'content'
15+ 'footer';
1716
18- @media (min-width: 850px) {
19- grid-template-columns: 384px auto;
20- grid-template-areas: 'aside content' 'footer footer';
21- margin: 20px;
22- height: calc(100% - 110px);
17+ @media (min-width: 850px) {
18+ grid-template-columns: 384px auto;
19+ grid-template-areas: 'aside content' 'footer footer';
20+ margin: 20px;
21+ height: calc(100% - 110px);
22+ }
2323` ;
2424
2525export const NetlifyBadgeContainer = styled . div `
Original file line number Diff line number Diff line change @@ -32,10 +32,14 @@ function Profile() {
3232 grid-area: content;
3333 ` ;
3434
35+ const Main = styled . div `
36+ min-height: calc(100vh - 172px);
37+ ` ;
38+
3539 const sortAndFilteredRepositories = useRepoSortFilter ( repositories ) ;
3640
3741 return (
38- < >
42+ < Main >
3943 < Header />
4044 < Layout >
4145 < UserProfileView />
@@ -78,7 +82,7 @@ function Profile() {
7882 </ a >
7983 </ NetlifyBadgeContainer >
8084 </ Layout >
81- </ >
85+ </ Main >
8286 ) ;
8387}
8488
You can’t perform that action at this time.
0 commit comments