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
+13
-3
@@ -79,6 +79,18 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
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>
|
</style>
|
||||||
@@ -105,11 +117,9 @@ const name = strings.tools[tool.id as keyof typeof strings.tools];
|
|||||||
></div>
|
></div>
|
||||||
|
|
||||||
<div class="content" data-minor={minor}>
|
<div class="content" data-minor={minor}>
|
||||||
<div class="wrapper">
|
<Heading className="name" size={minor ? "3" : "2"} weight="medium">
|
||||||
<Heading size={minor ? "3" : "2"} weight="medium">
|
|
||||||
{name}
|
{name}
|
||||||
</Heading>
|
</Heading>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</LinkI18n>
|
</LinkI18n>
|
||||||
</div>
|
</div>
|
||||||
Reference in new issue
Block a user