Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(style): fix Wallet Switcher Name Shrinks Despite Available Space … #226

Open
wants to merge 2 commits into
base: suite
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:

- name: build local image
run: |
docker-compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
docker compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
export EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }}
export WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
docker-compose up -d
docker compose up -d
docker cp camino-suite-host-container:/app/camino-suite ./
mkdir -p /home/runner/.cache
docker cp camino-suite-host-container:/root/.cache/Cypress /home/runner/.cache/
Expand Down Expand Up @@ -102,10 +102,10 @@ jobs:

- name: build local image
run: |
docker-compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
docker compose build --build-arg EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }} --build-arg WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
export EXPLORER_IMAGE=${{ env.explorer_image }}:${{ steps.setBranch.outputs.branch }}
export WALLET_IMAGE=${{ env.wallet_image }}:${{ steps.setBranch.outputs.branch }}
docker-compose up -d
docker compose up -d
docker cp camino-suite-host-container:/app/camino-suite ./
mkdir -p /home/runner/.cache
docker cp camino-suite-host-container:/root/.cache/Cypress /home/runner/.cache/
Expand Down
13 changes: 10 additions & 3 deletions src/components/Navbar/AliasPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ const AliasPicker = ({
Switch Wallet
</Typography>
<DialogAnimate open={open} onClose={handleCloseModal}>
<DialogTitle sx={{ m: 0, p: 2 }}>
<DialogTitle
sx={{ m: 0, p: 2, background: theme => theme.palette.background.paper }}
>
<Typography variant="h4" component="span">
Wallet Switcher
</Typography>
Expand All @@ -79,8 +81,13 @@ const AliasPicker = ({
</IconButton>
</DialogTitle>

<Divider sx={{ borderWidth: '1.5px' }} />
<DialogContent>
<Divider
sx={{
borderWidth: '1.5px',
borderColor: theme => theme.palette.divider,
}}
/>
<DialogContent sx={{ background: theme => theme.palette.background.paper }}>
<Box
sx={{
display: 'flex',
Expand Down
3 changes: 2 additions & 1 deletion src/components/Navbar/LoadMyKeysComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const LoadMyKeysComponent = () => {
mountKyesComponent(ref.current, {
dispatchNotification,
updateStore,
setAccount
setAccount,
isSuite: true,
})
}) // eslint-disable-line react-hooks/exhaustive-deps

Expand Down
Loading