Refactor views to use a responsive width wrapper component

This commit is contained in:
Bubka
2022-10-12 12:56:16 +02:00
parent 6a41c77144
commit 4511df5764
7 changed files with 293 additions and 282 deletions

View File

@ -1,11 +1,9 @@
<template>
<div class="columns is-centered">
<div class="form-column column is-two-thirds-tablet is-half-desktop is-one-third-widescreen is-one-third-fullhd">
<h1 class="title has-text-grey-dark" v-html="title" v-if="title"></h1>
<div id="punchline" v-if="punchline" class="block" v-html="punchline"></div>
<slot />
</div>
</div>
<responsive-width-wrapper>
<h1 class="title has-text-grey-dark" v-html="title" v-if="title"></h1>
<div id="punchline" v-if="punchline" class="block" v-html="punchline"></div>
<slot />
</responsive-width-wrapper>
</template>
<script>