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:
parent
2d1ce01320
commit
b1aa75a91f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue