print layout improvements

This commit is contained in:
Andrea 2022-05-26 11:45:38 +02:00
parent ae1c36d510
commit 4b6129d17b
4 changed files with 20 additions and 8 deletions

View File

@ -8,4 +8,12 @@
background: none;
background-color: $white;
}
hr {
display: block;
border: 2px solid $border-color;
}
@page {
margin: 1cm;
}
}

View File

@ -1,5 +1,5 @@
<template>
<div class="scroll-btn" @click.prevent="scroll" :style="`opacity: ${shown ? 1 : 0}`">
<div class="scroll-btn d-print-none" @click.prevent="scroll" :style="`opacity: ${shown ? 1 : 0}`">
<SquareButton link="#" :colour="colour" :aria-label="$t('table.scrollUp')">
<Icon v="arrow-alt-up"/>
</SquareButton>

View File

@ -1,5 +1,5 @@
<template>
<section class="mt-4 mt-lg-0">
<section class="mt-4 mt-lg-0 d-print-none">
<div class="d-none d-md-inline-flex btn-group btn-block mb-2 w-100">
<router-link v-for="{name, icon, iconInverse, route, routesExtra, condition} in links" :key="name"
v-if="condition === undefined || condition === true"

View File

@ -14,12 +14,13 @@
<Spelling :text="content"/>
</Twemoji>
<Separator icon="heart"/>
<Support/>
<section>
<Share :title="title"/>
</section>
<div class="d-print-none">
<Separator icon="heart"/>
<Support/>
<section>
<Share :title="title"/>
</section>
</div>
</div>
</template>
@ -50,6 +51,9 @@
@import "assets/variables";
.blog-post {
hyphens: auto;
text-align: justify;
img {
max-width: 100%;
}