print layout improvements
This commit is contained in:
parent
ae1c36d510
commit
4b6129d17b
|
@ -8,4 +8,12 @@
|
||||||
background: none;
|
background: none;
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
}
|
}
|
||||||
|
hr {
|
||||||
|
display: block;
|
||||||
|
border: 2px solid $border-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
@page {
|
||||||
|
margin: 1cm;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<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')">
|
<SquareButton link="#" :colour="colour" :aria-label="$t('table.scrollUp')">
|
||||||
<Icon v="arrow-alt-up"/>
|
<Icon v="arrow-alt-up"/>
|
||||||
</SquareButton>
|
</SquareButton>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<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">
|
<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"
|
<router-link v-for="{name, icon, iconInverse, route, routesExtra, condition} in links" :key="name"
|
||||||
v-if="condition === undefined || condition === true"
|
v-if="condition === undefined || condition === true"
|
||||||
|
|
|
@ -14,13 +14,14 @@
|
||||||
<Spelling :text="content"/>
|
<Spelling :text="content"/>
|
||||||
</Twemoji>
|
</Twemoji>
|
||||||
|
|
||||||
|
<div class="d-print-none">
|
||||||
<Separator icon="heart"/>
|
<Separator icon="heart"/>
|
||||||
<Support/>
|
<Support/>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<Share :title="title"/>
|
<Share :title="title"/>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -50,6 +51,9 @@
|
||||||
@import "assets/variables";
|
@import "assets/variables";
|
||||||
|
|
||||||
.blog-post {
|
.blog-post {
|
||||||
|
hyphens: auto;
|
||||||
|
text-align: justify;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue