Skip to content

Commit

Permalink
fixed size for omp and partner icons
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Sep 30, 2023
1 parent 9ee3285 commit eaf1613
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/components/listing/ServerRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@ const ServerRow: FC<ServerRowProps & ChakraProps> = ({ server, sx }) => {
</Heading>
</Link>
</NextLink>
<Flex justifyContent="space-between" alignItems="start" gridGap={2}>
<Stack>
{server.pr && (
<Image
src="https://assets.open.mp/assets/images/assets/partners.png"
alt="partner server"
title="Has partnership!"
maxWidth={7}
maxHeight={7}
width={7}
height={7}
unoptimized={true}
Expand All @@ -77,12 +79,14 @@ const ServerRow: FC<ServerRowProps & ChakraProps> = ({ server, sx }) => {
src="https://assets.open.mp/assets/images/assets/logo-light-trans.svg"
alt="open.mp server"
title="open.mp server"
maxWidth={7}
maxHeight={7}
width={7}
height={7}
unoptimized={true}
/>
)}
</Flex>
</Stack>
</Flex>

<Flex
Expand Down

0 comments on commit eaf1613

Please sign in to comment.