diff options
Diffstat (limited to 'components/Panel.vue')
| -rw-r--r-- | components/Panel.vue | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/components/Panel.vue b/components/Panel.vue new file mode 100644 index 0000000..007d2b6 --- /dev/null +++ b/components/Panel.vue @@ -0,0 +1,15 @@ +<template> + <div class="card"> + <slot /> + </div> +</template> + +<style> +.card { + background-color: white; + padding: 1rem; + border-radius: 0.5rem; + /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); */ + border: 0.1rem solid var(--color-border); +} +</style>
\ No newline at end of file |
