fix: change styles
parent
86d150fb29
commit
42c3e51d04
|
@ -48,30 +48,26 @@ var configMap = {
|
|||
"ipad-h": {
|
||||
bkg: ipadHPng,
|
||||
rotate: true,
|
||||
width: "658px",
|
||||
height: "496px",
|
||||
width: "458px",
|
||||
height: "326px",
|
||||
offsetv: "5px",
|
||||
imgStyle: {
|
||||
transform: 'rotate(-90deg)',
|
||||
width: "506px",
|
||||
height: "688px",
|
||||
transform: 'rotate(-90deg) scale(1.4)',
|
||||
},
|
||||
styles: {
|
||||
// transform: "translate(-50%, -50%) scale(1.42)",
|
||||
transform: "translate(-50%, -50%) scale(1.42)",
|
||||
}
|
||||
},
|
||||
"ipad-v": {
|
||||
bkg: ipadHPng,
|
||||
width: "486px",
|
||||
height: "648px",
|
||||
width: "326px",
|
||||
height: "458px",
|
||||
offsetv: "5px",
|
||||
imgStyle: {
|
||||
// transform: 'scale(1.4)',
|
||||
width: "506px",
|
||||
height: "688px",
|
||||
transform: 'scale(1.4)',
|
||||
},
|
||||
styles: {
|
||||
// transform: "translate(-50%, -50%) scale(1.42)",
|
||||
transform: "translate(-50%, -50%) scale(1.42)",
|
||||
}
|
||||
},
|
||||
};
|
||||
|
@ -105,7 +101,7 @@ function DeviceFrame(props) {
|
|||
<p style={{ margin: "0", }}>
|
||||
{t("scan")}
|
||||
<CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}>
|
||||
<img style={{ cursor: "pointer", width: "20px", height: "20px" }} src={copyPng} alt="复制链接" />
|
||||
<img style={{ cursor: "pointer", width: "20px", height: "20px", marginLeft: '4px' }} src={copyPng} alt="复制链接" />
|
||||
</CopyToClipboard>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue