Skip to content

Commit

Permalink
fix, ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
hazae41 committed Aug 14, 2024
1 parent 250adad commit 22b3077
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default function Action() {
const background = useBackgroundContext().unwrap()

useEffect(() => {
document.documentElement.classList.add("h-[600px]", "w-[400px]")
document.body.classList.add("h-[600px]", "w-[400px]")
document.documentElement.classList.add("h-[700px]", "w-[400px]")
document.body.classList.add("h-[700px]", "w-[400px]")
}, [])

const getHashOrThrow = useCallback(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/mods/background/service_worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class Global {
return slot.current
}

const height = 630
const height = 700
const width = 400

const top = Math.max(mouse.y - (height / 2), 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function WalletDataReceiveScreen(props: {}) {
{`This is an Ethereum address, only send Ethereum-compatible stuff to this address`}
</div>
</div>
<div className="h-4 grow" />
{typeof navigator.share === "function" &&
<div className="flex items-center flex-wrap-reverse gap-2">
<WideShrinkableOppositeButton
Expand Down

0 comments on commit 22b3077

Please sign in to comment.