fix get connect button to a fixed size

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-04-09 14:43:01 +03:00
parent c2d81bc229
commit 1663e82172
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
3 changed files with 12 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "ghost-dao-interface", "name": "ghost-dao-interface",
"private": true, "private": true,
"version": "0.7.10", "version": "0.7.11",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -43,9 +43,15 @@ function GhostChainSelect() {
} }
return ( return (
<PrimaryButton onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')} width="155px"> <Box height="39px" width="155px">
<PrimaryButton
sx={{ margin: "0 !important", padding: "0 !important" }}
onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')}
fullWidth
>
Get GHOST Connect Get GHOST Connect
</PrimaryButton> </PrimaryButton>
</Box>
) )
} }

View File

@ -38,7 +38,8 @@ function TopBar({
display="flex" display="flex"
justifyContent="space-between" justifyContent="space-between"
alignItems="center" alignItems="center"
width={small ? "calc(100vw - 78px)" : "520px"} width={small ? "calc(100vw - 78px)" : "500px"}
height="40px"
> >
<GhostChainSelect /> <GhostChainSelect />
<SelectNetwork <SelectNetwork