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) {
2525 match = { [
2626 [
2727 props . codeConfig . staticMediaQuery ,
28- < DynamicScrollycoding { ...props } /> ,
28+ < StaticScrollycoding { ...props } /> ,
2929 ] ,
30- [ "default" , < StaticScrollycoding { ...props } /> ] ,
30+ [ "default" , < DynamicScrollycoding { ...props } /> ] ,
3131 ] }
3232 />
3333 )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function addConfigDefaults(
2020) : CodeHikeConfig {
2121 // TODO warn when config looks weird
2222 return {
23- staticMediaQuery : "screen and (min -width: 768px)" ,
23+ staticMediaQuery : "not screen, (max -width: 768px)" ,
2424 ...config ,
2525 theme : config ?. theme || { } ,
2626 autoImport : config ?. autoImport === false ? false : true ,
You can’t perform that action at this time.
0 commit comments