1
0
elk/components/main/MainContent.vue
patak 2442c80bfb
feat: improve layout (#19)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-11-21 05:30:21 +08:00

18 lines
325 B
Vue

<template>
<div relative>
<div sticky top-0 bg="#222" z10>
<div flex justify-between>
<div p3 flex gap-1>
<slot name="title" />
</div>
<div p3 flex>
<slot name="actions" />
</div>
</div>
</div>
<div>
<slot />
</div>
</div>
</template>