fix get connect button to a fixed size
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
c2d81bc229
commit
1663e82172
@ -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",
|
||||||
|
|||||||
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user