slidev-theme-narduin/layouts/auto-grid.vue

17 lines
266 B
Vue
Raw Normal View History

2024-12-16 21:13:30 +01:00
<template>
<div class="slidev-layout">
<slot />
<div class="auto-grid">
<slot name="content" />
</div>
</div>
</template>
<style scoped>
.auto-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--space-xs);
}
</style>