fix: styles

This commit is contained in:
Apoorv Mishra
2023-07-25 23:16:53 +05:30
parent 31f8a3fb44
commit fbb793ab8e
3 changed files with 3 additions and 4 deletions

View File

@@ -13,7 +13,6 @@ export const THUMBNAIL_HEIGHT = 200;
const StyledText = styled(Text)`
margin-bottom: 0;
padding-top: 0.125em;
`;
export const Preview = styled(Link)`
@@ -28,7 +27,7 @@ export const Preview = styled(Link)`
export const Title = styled.h2`
font-size: 1.25em;
margin: 0.125em 0 0 0;
margin: 0;
color: ${s("text")};
`;

View File

@@ -28,7 +28,7 @@ function HoverPreviewDocument({ id, url, title, info, description }: Props) {
<Preview to={url}>
<Card>
<CardContent>
<Flex column>
<Flex column gap={2}>
<Title>{title}</Title>
<Info>{info}</Info>
<DescriptionContainer>

View File

@@ -29,7 +29,7 @@ function HoverPreviewMention({ url, title, info, color }: Props) {
}}
size={AvatarSize.XLarge}
/>
<Flex column>
<Flex column gap={2} justify="center">
<Title>{title}</Title>
<Info>{info}</Info>
</Flex>