fix
This commit is contained in:
parent
b7f31ebd24
commit
77ae9a53b6
File diff suppressed because one or more lines are too long
|
|
@ -176,13 +176,8 @@ export const Root = () => {
|
|||
// #endregion
|
||||
|
||||
let mobileCSS = "";
|
||||
console.log(
|
||||
base.mode,
|
||||
!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
||||
navigator.userAgent
|
||||
)
|
||||
);
|
||||
if (base.mode === "mobile") {
|
||||
|
||||
if (base.page.root.responsive === "mobile") {
|
||||
if (
|
||||
!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
||||
navigator.userAgent
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ export type IRoot = {
|
|||
id: "root";
|
||||
type: "root";
|
||||
id_page?: string;
|
||||
responsive?: "mobile" | "desktop";
|
||||
childs: ISection[];
|
||||
component_ids?: string[];
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue