This repository has been archived on 2021-09-06. You can view files and clone it, but cannot push or open issues or pull requests.
2021-02-06 17:24:16 +01:00
|
|
|
<template>
|
2021-02-06 17:38:58 +01:00
|
|
|
<div>
|
2021-02-07 10:48:54 +01:00
|
|
|
<header v-if="$slots.header">
|
2021-02-06 17:38:58 +01:00
|
|
|
<slot name="header"></slot>
|
|
|
|
</header>
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
2021-02-06 17:24:16 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
2021-02-06 17:42:50 +01:00
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-02-06 17:24:16 +01:00
|
|
|
div {
|
|
|
|
margin: 2rem auto;
|
|
|
|
max-width: 30rem;
|
|
|
|
border-radius: 12px;
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|