feat: add TextBlock component
This commit is contained in:
parent
596ab3af34
commit
d35f6f9184
1 changed files with 12 additions and 0 deletions
12
src/components/TextBlock.vue
Normal file
12
src/components/TextBlock.vue
Normal file
|
@ -0,0 +1,12 @@
|
|||
<template>
|
||||
<div class="textblock">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.textblock {
|
||||
max-width: var(--container-width-text);
|
||||
margin: var(--content-spacing);
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue