File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,22 @@ const Container = styled.main.attrs({ className: 'Explorer__DrawingPage__Contain
6161`
6262
6363const DayHeading = styled . h1 . attrs ( { className : 'Explorer__DayPage__DayHeading' } ) `
64+ flex: 0 0 auto;
6465 font-size: 32px;
6566 padding: 12px 16px;
6667 text-align: center;
6768`
6869
6970const DrawingSection = styled . section . attrs ( { className : 'Explorer__DayPage__DrawingSection' } ) `
71+ flex: 1 1 0;
7072 overflow: scroll;
7173 text-align: center;
7274`
7375
7476const NavBar = styled . nav . attrs ( { className : 'Explorer__DrawingPage__Header' } ) `
7577 color: #BBB;
7678 display: flex;
79+ flex: 0 0 auto;
7780 justify-content: space-between;
7881 font-size: 18px;
7982 font-weight: bold;
Original file line number Diff line number Diff line change @@ -62,14 +62,15 @@ const Container = styled.main.attrs({ className: 'Explorer__DrawingPage__Contain
6262`
6363
6464const Title = styled . h1 . attrs ( { className : 'Explorer__DrawingPage__Title' } ) `
65+ flex: 0 0 auto;
6566 font-size: 32px;
6667 font-weight: bold;
6768 padding: 16px 24px;
6869 text-align: center;
6970`
7071
7172const ImageWrap = styled . figure . attrs ( { className : 'Explorer__DrawingPage__ImageWrap' } ) `
72- flex-grow : 1;
73+ flex: 1 1 0 ;
7374 position: relative;
7475`
7576
@@ -84,6 +85,7 @@ const Image = styled.img.attrs({ className: 'Explorer__DrawingPage__Image'})`
8485const NavBar = styled . nav . attrs ( { className : 'Explorer__DrawingPage__Header' } ) `
8586 color: #BBB;
8687 display: flex;
88+ flex: 0 0 auto;
8789 justify-content: space-between;
8890 font-size: 18px;
8991 font-weight: bold;
You can’t perform that action at this time.
0 commit comments