Skip to content

Commit b1b566d

Browse files
fix: responsiveness of heading
1 parent e04e3e6 commit b1b566d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Heading/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import PropTypes from "prop-types";
33
function Heading({ headingText }) {
44
return (
55
<div className="relative text-center font-black uppercase tracking-tighter">
6-
<div className="xs:text-5xl text-[6.5rem] text-outlined text-transparent ">
6+
<div className="xs:text-4xl sm:text-6xl lg:text-[6.5rem] text-outlined text-transparent">
77
{headingText}
88
</div>
9-
<div className="xs:text-2xl text-[3.75rem] text-foreground absolute w-full bottom-0">
9+
<div className="xs:text-2xl sm:text-4xl lg:text-[3.75rem] text-foreground absolute w-full xs:bottom-[-10px] sm:bottom-[-18px] lg:bottom-[-12px]">
1010
{headingText}
1111
</div>
1212
</div>

0 commit comments

Comments
 (0)