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

View File

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