update: 样式调整
parent
2e34a926a1
commit
133e6ca036
|
@ -12,7 +12,6 @@ import React, { useEffect, useState } from "react";
|
||||||
import { BaseUrl } from "../../constants";
|
import { BaseUrl } from "../../constants";
|
||||||
import { Alert, Snackbar } from "@mui/material";
|
import { Alert, Snackbar } from "@mui/material";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import zIndex from "@mui/material/styles/zIndex";
|
|
||||||
|
|
||||||
var configMap = {
|
var configMap = {
|
||||||
"android-h": {
|
"android-h": {
|
||||||
|
@ -75,7 +74,7 @@ function DeviceFrame(props) {
|
||||||
<img src={refreshButtonPng} alt="refresh" onClick={() => refresh()} className="refreshButton" />
|
<img src={refreshButtonPng} alt="refresh" onClick={() => refresh()} className="refreshButton" />
|
||||||
{props.qrDataUrl && (
|
{props.qrDataUrl && (
|
||||||
<div className="qrCode">
|
<div className="qrCode">
|
||||||
<img src={props.qrDataUrl} alt="qr code" />
|
<img src={props.qrDataUrl} alt="qr code" style={{marginBottom: '6px'}} />
|
||||||
<p style={{ margin: "0", }}>
|
<p style={{ margin: "0", }}>
|
||||||
{t("scan")}
|
{t("scan")}
|
||||||
<CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}>
|
<CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"submit": "Submit",
|
"submit": "Submit",
|
||||||
"noAuth": "No permission",
|
"noAuth": "No permission",
|
||||||
"loginError": "Account or password is incorrect",
|
"loginError": "Account or password is incorrect",
|
||||||
"horizontal": "Horizontal",
|
"horizontal": "Hor",
|
||||||
"vertical": "Vertical",
|
"vertical": "Vertical",
|
||||||
"scan": "Mobile preview",
|
"scan": "Mobile preview",
|
||||||
"none": "None",
|
"none": "None",
|
||||||
|
|
Loading…
Reference in New Issue