fix html fontsize

This commit is contained in:
Gabe Yuan
2023-11-22 10:23:14 +08:00
parent 013a05201b
commit f8bfcba317
7 changed files with 33 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ import CloseIcon from "@mui/icons-material/Close";
import HomeIcon from "@mui/icons-material/Home";
import Stack from "@mui/material/Stack";
import DarkModeButton from "../Options/DarkModeButton";
import Typography from "@mui/material/Typography";
export default function Header({ setShowPopup }) {
const handleHomepage = () => {
@@ -21,14 +22,16 @@ export default function Header({ setShowPopup }) {
<IconButton onClick={handleHomepage}>
<HomeIcon />
</IconButton>
<Box
<Typography
component="div"
sx={{
userSelect: "none",
WebkitUserSelect: "none",
fontWeight: "bold",
}}
>
{`${process.env.REACT_APP_NAME} v${process.env.REACT_APP_VERSION}`}
</Box>
</Typography>
</Stack>
{setShowPopup ? (