mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
26 lines
331 B
Plaintext
26 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>
|