Skip to content

Commit

Permalink
Added responsive styles to embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
lilia1891 committed Sep 27, 2023
1 parent 72b9c67 commit 331856b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/common/RichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type RichTextImageProps = {
};
};

const RichTextStyles = styled.div`
const StyledRichText = styled.div`
.responsive-object {
position: relative;
}
Expand Down Expand Up @@ -255,7 +255,7 @@ export default function RichText(props: RichTextProps) {

return (
<div {...rest} className={`text-content ${className || ''}`}>
<RichTextStyles>{parsedContent}</RichTextStyles>
<StyledRichText>{parsedContent}</StyledRichText>
</div>
);
}

0 comments on commit 331856b

Please sign in to comment.