mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
27 lines
331 B
Plaintext
27 lines
331 B
Plaintext
---
|
|
interface Props {
|
|
major?: boolean;
|
|
}
|
|
|
|
const { major } = Astro.props;
|
|
---
|
|
|
|
<style>
|
|
.tool-card-layout-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
flex: 1;
|
|
|
|
gap: inherit;
|
|
|
|
&[data-major="true"] {
|
|
flex: 2;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<div class="tool-card-layout-root" data-major={major}>
|
|
<slot />
|
|
</div>
|