diff --git a/src/Components/deviceFrame/index.js b/src/Components/deviceFrame/index.js index 28a08eb..447cd98 100644 --- a/src/Components/deviceFrame/index.js +++ b/src/Components/deviceFrame/index.js @@ -12,29 +12,32 @@ import React, { useEffect, useState } from "react"; import { BaseUrl } from "../../constants"; import { Alert, Snackbar } from "@mui/material"; import { useTranslation } from "react-i18next"; +import zIndex from "@mui/material/styles/zIndex"; var configMap = { "android-h": { - bkg: androidHPng, - width: "512px", - height: "286px", - offsetv: "5px", + bkg: androidVPng, + rotate: true, + width: "666px", + height: "321px", + offsetv: "4px", }, "android-v": { bkg: androidVPng, - width: "286px", - height: "512px", + width: "321px", + height: "666px", offsetv: "5px", }, "iphone-h": { - bkg: iphoneHPng, - width: "628px", + bkg: iphoneVPng, + rotate: true, + width: "692px", height: "322px", }, "iphone-v": { bkg: iphoneVPng, width: "322px", - height: "628px", + height: "693px", }, "ipad-h": { bkg: ipadHPng, @@ -98,7 +101,7 @@ function DeviceFrame(props) {
- background + background {props.htmlUrl && (