Skip to content

Commit 3443a45

Browse files
committed
fix(ui): simplify iframe attributes in single layout
Removed unnecessary attributes from the iframe element as these were for codesandbox.io
1 parent c431de8 commit 3443a45

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

themes/aurelia-theme/layouts/playground/single.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ <h2 class="text-2xl font-semibold text-gray-900">{{ .title }}</h2>
1818
</div>
1919
<iframe data-src="{{ .url }}"
2020
class="w-full h-full rounded-xl opacity-0 transition-opacity duration-300"
21-
title="{{ .title }} Example"
22-
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
23-
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts">
21+
title="{{ .title }} Example">
2422
</iframe>
2523
</div>
2624
</article>

0 commit comments

Comments
 (0)