fix
This commit is contained in:
parent
d2df629851
commit
f3ee63ea2d
File diff suppressed because one or more lines are too long
|
|
@ -179,14 +179,6 @@ export const Root = () => {
|
||||||
|
|
||||||
if (base.page.root.responsive === "mobile") {
|
if (base.page.root.responsive === "mobile") {
|
||||||
base.mode = "mobile";
|
base.mode = "mobile";
|
||||||
|
|
||||||
if (
|
|
||||||
!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
||||||
navigator.userAgent
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
// if page is mobile but device is not, frame the screen
|
|
||||||
|
|
||||||
mobileCSS = css`
|
mobileCSS = css`
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
border-left: 1px solid #ccc;
|
border-left: 1px solid #ccc;
|
||||||
|
|
@ -205,8 +197,7 @@ export const Root = () => {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
} else if (base.page.root.responsive === "desktop") {
|
||||||
} else {
|
|
||||||
base.mode = "desktop";
|
base.mode = "desktop";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue