From 6a5f269560b07aeb8524f5b849ae7cff94e50c19 Mon Sep 17 00:00:00 2001 From: LAB-MI Date: Thu, 16 Apr 2020 12:57:25 +0000 Subject: [PATCH] Automated Release v1.0.1 Please find changes in CHANGELOG.md file --- src/certificate-en.js | 2 +- src/certificate.js | 2 +- src/main.css | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/certificate-en.js b/src/certificate-en.js index 8d99a5c..50928a3 100644 --- a/src/certificate-en.js +++ b/src/certificate-en.js @@ -16,7 +16,7 @@ library.add(faEye, faFilePdf) dom.watch() $('#radio-language-fr').addEventListener('click', async event => { - window.location.href = '/index' + window.location.href = `${process.env.PUBLIC_URL === '/' ? '' : process.env.PUBLIC_URL}/index.html` }) const generateQR = async text => { diff --git a/src/certificate.js b/src/certificate.js index ed363f7..47da583 100644 --- a/src/certificate.js +++ b/src/certificate.js @@ -16,7 +16,7 @@ library.add(faEye, faFilePdf) dom.watch() $('#radio-language-en').addEventListener('click', async event => { - window.location.href = '/index-en' + window.location.href = `${process.env.PUBLIC_URL === '/' ? '' : process.env.PUBLIC_URL}/index-en.html` }) const generateQR = async text => { diff --git a/src/main.css b/src/main.css index 06fa10e..12f7dde 100644 --- a/src/main.css +++ b/src/main.css @@ -47,11 +47,12 @@ svg { } ul.flex-justify { - display: flex; + display: -webkit-flex; /* Safari */ + -webkit-align-items: center; /* Safari 7.0+ */ justify-content:space-between; padding: 0; margin: 0; - } +} h1.flex.flex-wrap { display: flex;