update: 样式调整

index
icefire 2024-10-16 18:39:55 +08:00
parent 2e34a926a1
commit 133e6ca036
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@ 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": {
@ -75,7 +74,7 @@ function DeviceFrame(props) {
<img src={refreshButtonPng} alt="refresh" onClick={() => refresh()} className="refreshButton" />
{props.qrDataUrl && (
<div className="qrCode">
<img src={props.qrDataUrl} alt="qr code" />
<img src={props.qrDataUrl} alt="qr code" style={{marginBottom: '6px'}} />
<p style={{ margin: "0", }}>
{t("scan")}
<CopyToClipboard text={absoluteUrl} onCopy={() => setOpenPopup(true)}>

View File

@ -6,7 +6,7 @@
"submit": "Submit",
"noAuth": "No permission",
"loginError": "Account or password is incorrect",
"horizontal": "Horizontal",
"horizontal": "Hor",
"vertical": "Vertical",
"scan": "Mobile preview",
"none": "None",