File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export function PreviewCard({ preview }: PreviewCardProps) {
21
21
return (
22
22
< >
23
23
< div className = "group/copy bg-card not-prose relative flex min-h-[450px] flex-col rounded-md border p-4" >
24
- < div className = "absolute -top-11 right-0 mt-px flex items-center justify-end" >
24
+ < div className = "absolute -top-11 right-0 mt-px hidden items-center justify-end sm:flex " >
25
25
< PlatformSelect />
26
26
</ div >
27
27
< div className = "flex flex-1 flex-col items-center justify-center" >
@@ -44,13 +44,13 @@ export function PreviewCard({ preview }: PreviewCardProps) {
44
44
< a
45
45
href = { `https://reactnativereusables.com/showcase/links/${ component } ` }
46
46
target = "_blank"
47
- className = "not-prose bg-primary text-primary-foreground focus-visible:border-ring focus-visible:ring-ring/50 mt-4 inline-flex w-full shrink-0 items-center gap-3 rounded-xl p-3 text-sm font-medium shadow-sm outline-none transition-all focus-visible:ring-[3px] sm:hidden [&_svg]:shrink-0" >
48
- < div className = "dark:border-border/0 border-border/30 flex items-center justify-center rounded-lg border bg-black p-2.5 shadow-md " >
49
- < RnrIcon className = "size-8 text-white" pathClassName = "stroke-1" />
47
+ className = "not-prose bg-primary text-primary-foreground focus-visible:border-ring focus-visible:ring-ring/50 mt-4 inline-flex w-full shrink-0 items-center gap-2.5 rounded-lg p-2.5 text-sm font-medium shadow-sm outline-none transition-all focus-visible:ring-[3px] sm:hidden dark:p-2 [&_svg]:shrink-0" >
48
+ < div className = "bg-primary flex items-center justify-center rounded-lg p-1 shadow-md dark: bg-black dark: p-2" >
49
+ < RnrIcon className = "size-11 text-white dark:size-10 " pathClassName = "stroke-1" />
50
50
</ div >
51
- < div className = "flex flex-col gap-0.5 " >
51
+ < div className = "flex flex-col gap-1 " >
52
52
< p className = "leading-none" > Tap to preview in the app</ p >
53
- < p className = "text-xl font-semibold leading-none" > React Native Reusables</ p >
53
+ < p className = "text-[1.3rem] font-semibold leading-none" > React Native Reusables</ p >
54
54
</ div >
55
55
</ a >
56
56
</ >
You can’t perform that action at this time.
0 commit comments