Skip to content

Commit 9b622ef

Browse files
authored
add missing styles (#215)
* add missing styles * update version to 0.2.34
1 parent abd197f commit 9b622ef

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hyperparam",
3-
"version": "0.2.33",
3+
"version": "0.2.34",
44
"description": "Hyperparam CLI",
55
"author": "Hyperparam",
66
"homepage": "https://hyperparam.app",

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)