Skip to content

Commit

Permalink
update address input font size
Browse files Browse the repository at this point in the history
  • Loading branch information
duanyytop committed Nov 21, 2023
1 parent 84de279 commit 689c7fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {api, ConnectResp, QueryKey, SendResp, SignResp} from "./api";
const USER_REJECTED = 'rejected'

export default function App() {
const [address, setAddress] = useState<Address | null>(null);
const [address, setAddress] = useState<Address | null>('0x1234');
const [message, setMessage] = useState<string>('');
const [toAddress, setToAddress] = useState<string>("");
const [amount, setAmount] = useState<number>(0);
Expand Down Expand Up @@ -176,7 +176,7 @@ export default function App() {
<input
type="text"
placeholder="To address"
className="input input-bordered input-accent w-full max-w-xs mt-[8px]"
className="input input-bordered input-accent w-full max-w-xs mt-[8px] text-xs"
onChange={(e) => setToAddress(e.currentTarget.value)}
/>
<input
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export default {
content: ["./src/**/*.{html,ts, tsx}"],
theme: {
fontSize: {
xs: ['12px', '16px'],
sm: ['14px', '20px'],
base: ['16px', '24px'],
lg: ['20px', '28px'],
Expand Down

0 comments on commit 689c7fa

Please sign in to comment.