Style fixes

This commit is contained in:
Yana
2025-05-22 14:24:24 +03:00
parent 53e3acaa37
commit b51358fb12
3 changed files with 7 additions and 10 deletions
@@ -5,6 +5,7 @@ import { useCopyToClipboard } from "@uidotdev/usehooks";
import { useEffect } from "react";
import CopyFile from "../icons/CopyFile";
import CopyFileDark from "../icons/CopyFileDark";
import CheckIcon from "@mui/icons-material/Check";
const CLEAR_AFTER_MS = 10_000;
@@ -34,12 +35,8 @@ const CopyToClipboard = ({
if (hasCopied) {
return (
<Typography
sx={{ color: isDarkMode ? "base.white" : "pine.950" }}
variant="h6"
color="textSecondary"
>
Copied
<Typography sx={{ color: isDarkMode ? "base.white" : "pine.950" }}>
<CheckIcon fontSize="small" />
</Typography>
);
}
@@ -75,7 +75,7 @@ export default function AdvancedFilters({
color:
theme.palette.mode === "light"
? theme.palette.common.black
: theme.palette.text.secondary,
: theme.palette.common.white,
mb: 2,
}}
>
@@ -367,7 +367,7 @@ export const WorldMap = (): JSX.Element => {
mt: 2,
}}
>
<ExplorerCard label="Number of all servers">
<ExplorerCard label="Nym servers around the world">
<Typography
variant="h4"
sx={{
@@ -378,7 +378,7 @@ export const WorldMap = (): JSX.Element => {
{totalServers}
</Typography>
</ExplorerCard>
<ExplorerCard label="Number of countries">
<ExplorerCard label="Countries with Nym servers">
<Typography
variant="h4"
sx={{
@@ -389,7 +389,7 @@ export const WorldMap = (): JSX.Element => {
{totalCountries}
</Typography>
</ExplorerCard>
<ExplorerCard label="Number of locations">
<ExplorerCard label="Nym Server Locations">
<Typography
variant="h4"
sx={{