Skip to content

Commit 1d71eb8

Browse files
committed
chore: convert more
1 parent f8dad46 commit 1d71eb8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

site/src/components/SyntaxHighlighter/SyntaxHighlighter.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ export const SyntaxHighlighter: FC<SyntaxHighlighterProps> = ({
4444
return (
4545
<div
4646
data-chromatic="ignore"
47-
css={{
48-
padding: "8px 0",
49-
height: "100%",
47+
className="px-2 py-0 h-full"
48+
style={{
5049
backgroundColor: theme.monaco.colors["editor.background"],
5150
}}
5251
>

site/src/components/TableEmpty/TableEmpty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type TableEmptyProps = EmptyStateProps;
1111
export const TableEmpty: FC<TableEmptyProps> = (props) => {
1212
return (
1313
<TableRow>
14-
<TableCell colSpan={999} css={{ padding: "0 !important" }}>
14+
<TableCell colSpan={999} className="!p-0">
1515
<EmptyState {...props} />
1616
</TableCell>
1717
</TableRow>

site/src/components/TableLoader/TableLoader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Loader } from "../Loader/Loader";
66
export const TableLoader: FC = () => {
77
return (
88
<TableRow>
9-
<TableCell colSpan={999} css={{ textAlign: "center", height: 160 }}>
9+
<TableCell colSpan={999} className="h-40 text-center">
1010
<Loader />
1111
</TableCell>
1212
</TableRow>

0 commit comments

Comments
 (0)