File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ export function Scrollycoding(props) {
25
25
match = { [
26
26
[
27
27
props . codeConfig . staticMediaQuery ,
28
- < DynamicScrollycoding { ...props } /> ,
28
+ < StaticScrollycoding { ...props } /> ,
29
29
] ,
30
- [ "default" , < StaticScrollycoding { ...props } /> ] ,
30
+ [ "default" , < DynamicScrollycoding { ...props } /> ] ,
31
31
] }
32
32
/>
33
33
)
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function addConfigDefaults(
20
20
) : CodeHikeConfig {
21
21
// TODO warn when config looks weird
22
22
return {
23
- staticMediaQuery : "screen and (min -width: 768px)" ,
23
+ staticMediaQuery : "not screen, (max -width: 768px)" ,
24
24
...config ,
25
25
theme : config ?. theme || { } ,
26
26
autoImport : config ?. autoImport === false ? false : true ,
You can’t perform that action at this time.
0 commit comments