FIX: add viewport so artifacts render correctly on mobile

When sharing artifacts on mobile we had no viewport tag so
text would be TINY
This commit is contained in:
Sam Saffron 2025-01-11 18:26:48 +11:00
parent 2d1ce01320
commit b1aa75a91f
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ module DiscourseAi
<head>
<meta charset="UTF-8">
<title>#{ERB::Util.html_escape(name)}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes, viewport-fit=cover, interactive-widget=resizes-content">
<style>
html, body, iframe {
margin: 0;