fix weird chrome sandbox quirks on dark mode example's iframe

This commit is contained in:
2020-08-14 11:10:47 -04:00
parent 8e9e236ecc
commit e07934517c
5 changed files with 55 additions and 4 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
<div class="embed {{ .Name }}">
<iframe src="{{ .Get "src" }}" {{ with .Get "title" }}title="{{ . }}"{{ end }}></iframe>
<iframe src="{{ .Get "src" }}"{{ with .Get "title" }} title="{{ . }}"{{ end }}{{ with .Get "sandbox" }} sandbox="{{ . }}"{{ end }}></iframe>
</div>