added meta viewport to exported HTMLs, #1289

This commit is contained in:
zadam 2020-10-05 22:23:03 +02:00
parent a7f510783d
commit 384a9474c0

View file

@ -229,6 +229,7 @@ function exportToZip(taskContext, branch, format, res) {
content = `<html> content = `<html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="${cssUrl}"> <link rel="stylesheet" href="${cssUrl}">
</head> </head>
<body> <body>
@ -356,6 +357,7 @@ ${content}
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head> </head>
<frameset cols="25%,75%"> <frameset cols="25%,75%">
<frame name="navigation" src="navigation.html"> <frame name="navigation" src="navigation.html">