respinsive tol card titles

This commit is contained in:
tresabhi committed 2026-12-04 13:31:52 -06:00
1 parent d78ff37dc1
commit f8eebd9437
1 file changed
+15 -5
+15 -5
View File
@@ -79,6 +79,18 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
flex-direction: column;
justify-content: center;
}
@media (width < 32rem) {
padding: var(--space-4);
.name {
font-size: var(--font-size-heading-4);
}
&[data-minor="true"] {
padding: var(--space-3);
}
}
}
}
</style>
@@ -105,11 +117,9 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
></div>
<div class="content" data-minor={minor}>
<div class="wrapper">
<Heading size={minor ? "3" : "2"} weight="medium">
{name}
</Heading>
</div>
<Heading className="name" size={minor ? "3" : "2"} weight="medium">
{name}
</Heading>
</div>
</LinkI18n>
</div>