Skip to content

Commit

Permalink
Fixes to issuer section
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Oct 15, 2024
1 parent a65b003 commit b52722e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions centrifuge-app/src/components/IssuerSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,14 @@ export function IssuerDetails({ metadata }: IssuerSectionProps) {
<Links links={links} />
</Shelf>
<Box pt={4} display="flex" justifyContent="space-between">
<Box>
<Box width={metadata?.pool?.issuer?.categories?.length ? '40%' : '100%'} marginRight={3}>
<Text variant="heading2">{metadata?.pool?.issuer.name}</Text>
<Text variant="body2" style={{ marginTop: '12px' }}>
<Text variant="body2" style={{ marginTop: '12px', lineHeight: '22px', letterSpacing: '-0.14px' }}>
{metadata?.pool?.issuer.description}
</Text>
</Box>
{metadata?.pool?.issuer?.categories?.length ? (
<Box width="50%" bg="white" padding="8px" borderRadius={10} ml={1}>
<Box width="50%" bg="white" padding={2} borderRadius={10} ml={1} height="min-content">
{metadata?.pool?.issuer?.categories.map((category) => (
<Box display="flex" justifyContent="space-between" padding={1}>
<Text color="textSecondary" variant="body2" style={{ minWidth: 120, textTransform: 'capitalize' }}>
Expand Down
2 changes: 1 addition & 1 deletion centrifuge-app/src/pages/Pool/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function PoolDetailOverview() {
)}
<React.Suspense fallback={<Spinner />}>
<Grid
gridTemplateColumns="1fr 0.5fr"
gridTemplateColumns={metadata?.pool?.reports?.length || !isTinlakePool ? '1fr 0.5fr' : '1fr'}
gap={2}
marginY={3}
borderBottom={`1px solid ${theme.colors.borderPrimary}`}
Expand Down

0 comments on commit b52722e

Please sign in to comment.