File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 1- import React from 'react' ;
1+ import React , { useEffect } from 'react' ;
22
33export default ( ) => {
4+ useEffect ( ( ) => {
5+ const container = document . getElementById ( 'container' ) ;
6+
7+ container . classList . add ( 'fullscreen' ) ;
8+
9+ return ( ) => container . classList . remove ( 'fullscreen' ) ;
10+ } , [ ] )
11+
412 return (
513 < div className = "BlackLivesMatter" >
614 < section >
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ input[type='email'] {
141141
142142 .Header__Nav__Menu {
143143 position : absolute ;
144- top : 91px ;
144+ top : 91px + $banner-offset ;
145145 left : 0 ;
146146 right : 0 ;
147147 height : 394px ;
@@ -176,7 +176,7 @@ input[type='email'] {
176176 margin : 0 ;
177177 text-align : center ;
178178 position : absolute ;
179- top : -369px ;
179+ top : -369px + $banner-offset ;
180180 left : 25px ;
181181 }
182182 }
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ $size-font-default: 20px;
2525$size-font-medium : 18px ;
2626$size-font-small : 14px ;
2727$size-font-xsmall : 12px ;
28+ $banner-offset : 42px ;
2829
2930/* typography */
3031body {
@@ -129,6 +130,12 @@ input[type='email'] {
129130 box-sizing : border-box ;
130131}
131132
133+ #container .fullscreen {
134+ .Header , .Footer {
135+ display : none ;
136+ }
137+ }
138+
132139.col {
133140 display : inline-block ;
134141 vertical-align : top ;
@@ -517,7 +524,7 @@ input[type='email'] {
517524 color : $color-red ;
518525 position : absolute ;
519526 height : 57px ;
520- top : 17px ;
527+ top : 17px + $banner-offset ;
521528 right : 25px ;
522529}
523530.Header__Nav section :last-of-type {
@@ -697,10 +704,12 @@ section.Footer__Tickets h2 {
697704 border : 0 none ;
698705 color : #ccc ;
699706 padding : 0 ;
707+ margin : 0 ;
700708}
701709.BlackLivesMatter section {
702710 max-width : 800px ;
703711 margin : 0 auto ;
712+ padding : 25px !important ;
704713}
705714
706715/* -- Icon -- */
You can’t perform that action at this time.
0 commit comments