Skip to content

Commit

Permalink
fix: fixed horizontal alignment of group info and fixed icon on conne…
Browse files Browse the repository at this point in the history
…ct button modal (#804)
  • Loading branch information
KlausMikhaelson authored Oct 24, 2023
1 parent 49d3374 commit 982da0d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const AddWalletContent = ({

return (
<Section
margin="auto"
width={isMobile ? '100%' : '410px'}
flexDirection="column"
padding={isMobile ? '0px auto' : '0px 10px'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ const GroupInformation = ({
};

return (
<Section width={isMobile ? '100%' : '410px'} flexDirection="column">
<Section margin="auto" width={isMobile ? '100%' : '410px'} flexDirection="column">
<GroupDescription>
<Span fontSize="18px" color={theme.textColor?.modalHeadingText}>
Chat ID
Expand Down Expand Up @@ -714,6 +714,7 @@ export const GroupInfoModal = ({
<Modal clickawayClose={onClose}>
{!showAddMoreWalletModal && (
<Section
margin='auto'
width={isMobile ? '100%' : '410px'}
flexDirection="column"
padding={isMobile ? '0px auto' : '0px 10px'}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import { Web3OnboardProvider } from '@web3-onboard/react';
import injectedModule, { ProviderLabel } from '@web3-onboard/injected-wallets';
import walletConnectModule from '@web3-onboard/walletconnect'
import init from '@web3-onboard/core';
import PushIcon from "../../../icons/Bell.svg"

const APP_META_DATA = {
name: 'Push Protocol',
icon: 'https://files.slack.com/files-pri/T011WQBLH39-F05QWQA0MSR/pushlogoblocknative.png',
logo: PushIcon,
icon: PushIcon,
description: 'Example showcasing how to connect a wallet.',

recommendedInjectedWallets: [
Expand Down
1 change: 1 addition & 0 deletions packages/uiweb/src/lib/icons/Bell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 982da0d

Please sign in to comment.