Skip to content

Commit 252793c

Browse files
committed
chore: convert AppPreview component totailwind
1 parent 79eec19 commit 252793c

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

site/src/modules/resources/AppLink/AppPreview.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,7 @@ import type { FC, PropsWithChildren } from "react";
44
export const AppPreview: FC<PropsWithChildren> = ({ children }) => {
55
return (
66
<Stack
7-
css={(theme) => ({
8-
padding: "2px 12px",
9-
borderRadius: 9999,
10-
border: `1px solid ${theme.palette.divider}`,
11-
color: theme.palette.text.primary,
12-
background: theme.palette.background.paper,
13-
flexShrink: 0,
14-
width: "fit-content",
15-
fontSize: 12,
16-
17-
"& img, & svg": {
18-
width: 13,
19-
},
20-
})}
7+
className="flex items-center h-8 px-3 rounded-full border border-solid border-surface-quaternary text-content-primary bg-surface-secondary flex-shrink-0 w-fit text-xs [&>svg]:w-[13px] [&>img]:w-[13px]"
218
alignItems="center"
229
direction="row"
2310
spacing={1}

0 commit comments

Comments
 (0)