Skip to content

Commit 1b776b6

Browse files
committed
add missing styles
1 parent abd197f commit 1b776b6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/CellPanel/CellPanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { DataFrame, stringify } from 'hightable'
22
import { useEffect, useState } from 'react'
33
import ContentWrapper from '../ContentWrapper/ContentWrapper.js'
44
import SlideCloseButton from '../SlideCloseButton/SlideCloseButton.js'
5+
import styles from '../TextView/TextView.module.css'
56

67
interface ViewerProps {
78
df: DataFrame
@@ -56,6 +57,6 @@ export default function CellPanel({ df, row, col, setProgress, setError, onClose
5657
</>
5758

5859
return <ContentWrapper headers={headers}>
59-
<code className="text">{text}</code>
60+
<code className={styles.textView}>{text}</code>
6061
</ContentWrapper>
6162
}

src/components/TextView/TextView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default function TextView({ source, setError }: ViewerProps) {
5151

5252
// Simple text viewer
5353
return <ContentWrapper content={content} headers={headers} isLoading={isLoading}>
54-
{content && <code className={cn(styles.text, customClass?.textView)}>
54+
{content && <code className={cn(styles.textView, customClass?.textView)}>
5555
{content.text}
5656
</code>}
5757
</ContentWrapper>

0 commit comments

Comments
 (0)