Skip to content

Commit

Permalink
Minor mobile tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrossy committed Mar 31, 2024
1 parent 4dbb43f commit a25fe84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/app/delegate/[address]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ function DelegateeDescription({ delegatee }: { delegatee: Delegatee }) {
<SocialLogoLink key={i} type={type as SocialLinkType} href={href} />
))}
{delegatee.interests.map((interest, i) => (
<span key={i} className="rounded-full border border-taupe-300 px-2 text-sm">
<span
key={i}
className="hidden rounded-full border border-taupe-300 px-2 text-sm sm:block"
>
{interest}
</span>
))}
Expand Down
4 changes: 2 additions & 2 deletions src/features/governance/components/ProposalCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ export function ProposalBadgeRow({
)}
{showProposer && proposer && (
<>
<div className="text-xs opacity-50"></div>
<ShortAddress address={proposer} className="text-sm text-taupe-600" />
<div className="hidden text-xs opacity-50 sm:block"></div>
<ShortAddress address={proposer} className="hidden text-sm text-taupe-600 sm:block" />
</>
)}
</div>
Expand Down

0 comments on commit a25fe84

Please sign in to comment.