Skip to content

Commit 2909a22

Browse files
committed
refactor: remove arbitrary value
1 parent 2400996 commit 2909a22

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/sections/homepage/_partials/testimonials/CommunityStats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function CommunityStats() {
3636

3737
return (
3838
<div className="p-7 bg-primary rounded-3.5xl mx-auto text-white relative md:absolute md:top-28 lg:top-32 xl:w-1/3 md:w-4/6 z-10 sm:max-w-sm">
39-
<h3 className="m-0 text-[32px] lg:text-4.5xl leading-8 lg:leading-11 w-3/4 -tracking-6">{t("testimonials.community.title")}</h3>
39+
<h3 className="m-0 text-3.5xl lg:text-4.5xl lg:leading-11 w-3/4 -tracking-6">{t("testimonials.community.title")}</h3>
4040
<div className="relative divide-y divide-white divide-dotted">
4141
{stats.map((stat) => (
4242
<div key={stat.title} className="py-6">

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
fontSize: {
7272
xxs: ["0.6875rem", { lineHeight: "1.2rem" }],
7373
".5xl": ["1.375rem", { lineHeight: "1.75rem" }],
74+
"3.5xl": ["2rem", {lineHeight: "2rem"}],
7475
"4.5xl": ["2.5rem", { lineHeight: "2.475rem" }],
7576
"6.5xl": ["4rem", { lineHeight: "1" }],
7677
"7.5xl": ["5rem", { lineHeight: "1" }],

0 commit comments

Comments
 (0)