+1
-6
src/components/prompt.tsx
+1
-6
src/components/prompt.tsx
···
74
74
}
75
75
76
76
const PromptTitle = (props: PromptTitleProps) => {
77
-
const isDesktop = useMediaQuery('(width >= 688px) and (height >= 500px)');
78
-
return (
79
-
<h1 class={`mb-1 break-words font-bold` + (!isDesktop() ? ` text-base` : ` text-xl`)}>
80
-
{props.children}
81
-
</h1>
82
-
);
77
+
return <h1 class="mb-1 break-words text-lg font-bold">{props.children}</h1>;
83
78
};
84
79
85
80
export { PromptTitle as Title };