mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
respinsive tol card titles
This commit is contained in:
1 file changed
+15
-5
@@ -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>
|
||||
Reference in new issue
Block a user