refactor: move spacer into it's own component
This commit is contained in:
parent
b1a3ce9b00
commit
8a9ecaa2e2
1 changed files with 21 additions and 0 deletions
21
components/VerticalSpacer.vue
Normal file
21
components/VerticalSpacer.vue
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<template>
|
||||||
|
<span class="spacer"></span>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import type { UserResponse } from '~/types/interfaces';
|
||||||
|
|
||||||
|
const props = defineProps<{
|
||||||
|
user: UserResponse,
|
||||||
|
}>();
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.spacer {
|
||||||
|
height: 0.2dvh;
|
||||||
|
display: block;
|
||||||
|
margin: 0.8dvh 0.2dvw;
|
||||||
|
background-color: var(--padding-color);
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Add table
Add a link
Reference in a new issue