Skip to content

Commit 394a9c8

Browse files
author
Zefeng (Daniel) Wang
committed
Make mobile width consistent.
1 parent 8318c4e commit 394a9c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/packet/components/useIsMobile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useEffect } from 'react';
22

33
const checkIsMobile = (windowWidth) => {
4-
return windowWidth && windowWidth <= 992;
4+
return windowWidth && windowWidth <= 960;
55
};
66

77
const useIsMobile = () => {

src/pages/packet/packet.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ p[class^="footer-list-type"] {
401401
}
402402

403403

404-
@media only screen and (max-width: $md) {
404+
@media only screen and (max-width: $lg) {
405405
div[class*="-row"], .packet-headline, .packet-blurb, .base-headline, .base-box, .intro-div {
406406
margin-left: 20px;
407407
}

0 commit comments

Comments
 (0)