1
1
mirror of https://github.com/rubjo/victor-mono.git synced 2024-11-26 21:34:47 +03:00

Fix link + adjust height estimate for lazy-loaded component

This commit is contained in:
Rune Bjørnerås 2020-01-28 17:54:27 +01:00
parent d8b7493694
commit 1d25b69a88
2 changed files with 12 additions and 10 deletions

View File

@ -207,7 +207,13 @@
</el-row>
</div>
<div class="content">
<div
id="compare"
class="scroll-head"
/>
<Compare :theme="theme" />
</div>
<div class="content alternate-bg">
<div
@ -269,7 +275,7 @@
</a>
&nbsp;
<a
id="download-link"
class="download-link"
href="VictorMonoAll.zip"
>
<el-button
@ -345,8 +351,8 @@
>
<p class="">
1) <a
v-scroll-to="'#download'"
href="javascript:void(0)"
class="download-link"
href="VictorMonoAll.zip"
>Download</a> the font<br>
2) Unpack the ZIP<br>
3) <a
@ -542,7 +548,7 @@ export default {
Compare: lazyLoadComponent({
componentFactory: () => import('@/components/Compare'),
background: localStorage.getItem('theme') === 'dark' ? '#515151' : '#f5f5f5',
height: '37vw',
height: '45vw',
loading: Loader
}),
Faq,

View File

@ -1,9 +1,5 @@
<template>
<div class="content">
<div
id="compare"
class="scroll-head"
/>
<div>
<el-row>
<el-col>
<h1 class="centre">