diff --git a/packages/web/components/patterns/HighlightView.tsx b/packages/web/components/patterns/HighlightView.tsx
index ad75389e8..efe45e0a9 100644
--- a/packages/web/components/patterns/HighlightView.tsx
+++ b/packages/web/components/patterns/HighlightView.tsx
@@ -25,17 +25,11 @@ const StyledQuote = styled(Blockquote, {
margin: '0px 0px 0px 0px',
fontSize: '18px',
lineHeight: '27px',
- color: '$grayText',
})
export function HighlightView(props: HighlightViewProps): JSX.Element {
const [noteMode, setNoteMode] = useState<'preview' | 'edit'>('preview')
- const lines = useMemo(
- () => (props.highlight.quote || '').split('\n'),
- [props.highlight.quote]
- )
-
return (
-
+
{
if (props.scrollToHighlight) {
@@ -73,25 +73,22 @@ export function HighlightView(props: HighlightViewProps): JSX.Element {
}
}}
>
-
- {/* *': {
+ m: '0px',
+ },
+ color: '$grayText',
+ img: {
+ display: 'block',
+ margin: '0.5em auto !important',
+ maxWidth: '100% !important',
+ height: 'auto',
+ },
}}
>
- {lines.map((line: string, index: number) => (
-
- {line}
- {index !== lines.length - 1 && (
- <>
-
-
- >
- )}
-
- ))}
- */}
+
+
{props.highlight.labels?.map(({ name, color }, index) => (