Skip to content

Commit

Permalink
Make FormSummary mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan3692bf committed Jun 15, 2022
1 parent cbf2ca2 commit 6d6a9ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const RelevantLinks = {

const Socials = {
Twitter: {
url: 'https://twitter.com/solana',
url: 'https://twitter.com/Realms_DAOs',
imgSrc: '/icons/twitter.svg',
},
Github: {
Expand Down
16 changes: 8 additions & 8 deletions components/NewRealmWizard/components/FormSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function SummaryModule({
}) {
return (
<div
className={`bg-night-grey rounded-md pl-6 pr-8 py-6 grow ${className} flex justify-between items-center`}
className={`bg-night-grey rounded-md pl-6 pr-8 py-6 grow ${className} flex flex-wrap justify-between items-center`}
>
<div className="flex flex-col">
<Text level="2" className="flex mb-2 text-white/50">
Expand All @@ -31,7 +31,7 @@ function SummaryModule({
</Text>
{children}
</div>
<div>{rightSide ? rightSide : <></>}</div>
<div className="mt-2 md:mt-0">{rightSide ? rightSide : <></>}</div>
</div>
)
}
Expand Down Expand Up @@ -59,7 +59,7 @@ function CommunityInfo({
rightSide={
<Text
level="2"
className="flex items-center px-6 py-1 ml-2 text-white rounded bg-bkg-grey"
className="flex items-center px-6 py-1 text-white rounded bg-bkg-grey"
>
{nftInfo?.nftCollectionCount?.toLocaleString()} NFTs
</Text>
Expand All @@ -81,7 +81,7 @@ function CommunityInfo({
rightSide={
<Text
level="2"
className="flex items-center px-6 py-1 ml-2 text-white rounded bg-bkg-grey"
className="flex items-center px-6 py-1 text-white rounded bg-bkg-grey"
>
{tokenInfo?.symbol && tokenInfo.symbol !== '(No symbol)'
? `#${tokenInfo.symbol}`
Expand All @@ -94,7 +94,7 @@ function CommunityInfo({
src={tokenInfo?.logoURI || '/icons/generic-token-icon.svg'}
className="w-8"
/>
<Text level="0" className="ml-3 input-base">
<Text level="0" className="ml-2 input-base">
{tokenInfo?.name || '(Unnamed)'}
</Text>
</div>
Expand Down Expand Up @@ -150,20 +150,20 @@ function CouncilInfo({
rightSide={
<Text
level="2"
className="flex items-center px-6 py-1 ml-2 text-white rounded bg-bkg-grey"
className="flex items-center px-6 py-1 text-white rounded bg-bkg-grey"
>
{tokenInfo?.symbol && tokenInfo.symbol !== '(No symbol)'
? `#${tokenInfo.symbol}`
: '(No symbol)'}
</Text>
}
>
<div className="flex">
<div className="flex items-center">
<img
src={tokenInfo?.logoURI || '/icons/generic-token-icon.svg'}
className="w-8"
/>
<Text level="0" className="ml-3 input-base">
<Text level="0" className="ml-2 input-base">
{tokenInfo?.name || '(Unnamed)'}
</Text>
</div>
Expand Down

0 comments on commit 6d6a9ea

Please sign in to comment.