File tree 3 files changed +18
-17
lines changed
3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,3 @@ $lg-height-min: 48.875rem;
15
15
$whenPageIsMediumHeightAndWidth : ' (min-height: #{$md-height-min } ) and (min-width: #{$md-layout-width-min } )' ;
16
16
$whenPageIsTallAndMediumWidth : ' (min-width: #{$md-layout-width-min } ) and (min-height: #{$lg-height-min } )' ;
17
17
$whenPageIsIsTallAndWide : ' (min-width: #{$lg-layout-width-min } ) and (min-height: #{$lg-height-min } )' ;
18
-
19
-
20
- /* webpack export statement exposes these variables to our JS files */
21
- :export {
22
- extra Large Width Min : $xl-layout-width-min ;
23
- large Height Min : $lg-height-min ;
24
- large Width Min : $lg-layout-width-min ;
25
- medium Height Max : $md-height-max ;
26
- medium Height Min : $md-height-min ;
27
- medium Width Min : $md-layout-width-min ;
28
- medium Width Max : $md-layout-width-max ;
29
- page Is At Medium Height And Width : $whenPageIsMediumHeightAndWidth ;
30
- page Is Tall And Medium Width : $whenPageIsTallAndMediumWidth ;
31
- page Is Tall And Wide : $whenPageIsIsTallAndWide ;
32
- small Height Max : $sm-height-max ;
33
- }
Original file line number Diff line number Diff line change
1
+ @import ' ./_layout.scss' ;
2
+
3
+ /* webpack export statement exposes these variables to our JS files */
4
+ /* we have to do this in a separate *.module.scss file because of this bug https://github.com/facebook/create-react-app/issues/10047 */
5
+ :export {
6
+ extra Large Width Min : $xl-layout-width-min ;
7
+ large Height Min : $lg-height-min ;
8
+ large Width Min : $lg-layout-width-min ;
9
+ medium Height Max : $md-height-max ;
10
+ medium Height Min : $md-height-min ;
11
+ medium Width Min : $md-layout-width-min ;
12
+ medium Width Max : $md-layout-width-max ;
13
+ page Is At Medium Height And Width : $whenPageIsMediumHeightAndWidth ;
14
+ page Is Tall And Medium Width : $whenPageIsTallAndMediumWidth ;
15
+ page Is Tall And Wide : $whenPageIsIsTallAndWide ;
16
+ small Height Max : $sm-height-max ;
17
+ }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { toast } from 'react-toastify';
3
3
import { buildbranch , buildnum } from '../../package.json' ;
4
4
import { INITIAL_FILTER_STATE } from '../ducks/event-filter' ;
5
5
6
- import layoutVariables from '../common/styles/_layout .scss' ;
6
+ import layoutVariables from '../common/styles/layout.module .scss' ;
7
7
8
8
const { POSITION : TOAST_POSITIONS } = toast ;
9
9
You can’t perform that action at this time.
0 commit comments