Browse Source

Responsive title

pull/82/head
Rihan 3 years ago
parent
commit
dff07a6f38
  1. 2
      src/components/text/Title.tsx

2
src/components/text/Title.tsx

@ -3,5 +3,5 @@ export interface TitleProps {
} }
export function Title(props: TitleProps) { export function Title(props: TitleProps) {
return <h1 className="text-4xl font-bold text-white">{props.children}</h1>; return <h1 className="text-2xl sm:text-3xl md:text-4xl font-bold text-white">{props.children}</h1>;
} }

Loading…
Cancel
Save