Skip to content

Commit

Permalink
Adjust font
Browse files Browse the repository at this point in the history
  • Loading branch information
zzq0826 committed Jan 23, 2025
1 parent a19df6c commit b424b77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const useStyles = makeStyles()(theme => ({
width: "auto",
whiteSpace: "nowrap",
paddingRight: "2.4rem",
fontFamily: "var(--default-font-family) !important",
[theme.breakpoints.down("sm")]: {
fontSize: "1.4rem",
lineHeight: "2.4rem",
Expand Down
11 changes: 0 additions & 11 deletions src/app/bridge/Send/SendTransaction/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ import { amountToBN, checkApproved, switchNetwork, trimErrorMessage } from "@/ut
import ApprovalDialog from "./ApprovalDialog"
import BalanceInput from "./BalanceInput"
import CustomiseRecipient from "./CustomiseRecipient"
import DepositSelector from "./DepositSelector"
import NetworkDirection from "./NetworkDirection"
import TransactionSummary from "./TransactionSummary"
import useBatchDeposit from "./hooks/useBatchDeposit"

Expand Down Expand Up @@ -142,15 +140,6 @@ const SendTransaction = () => {
Connect wallet
</TextButton>
)
} else if (chainId !== fromNetwork.chainId) {
nextBridgeWarning = (
<>
Wrong network.{" "}
<TextButton underline="always" sx={{ fontSize: "1.4rem" }} onClick={() => switchNetwork(fromNetwork.chainId)}>
Switch to {fromNetwork.name}
</TextButton>
</>
)
} else if (maxWarning && maxWarning !== "FeeError") {
nextBridgeWarning = <>{maxWarning}</>
nextInputError = true
Expand Down
1 change: 1 addition & 0 deletions src/app/bridge/Send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const useStyles = makeStyles()(theme => ({
fontWeight: 600,
color: (theme as any).vars.palette.text.primary,
padding: 0,
fontFamily: "var(--default-font-family) !important",
// backgroundColor: (theme as any).vars.palette.themeBackground.normal,
textTransform: "unset",
"&.Mui-selected": {
Expand Down

0 comments on commit b424b77

Please sign in to comment.