Skip to content

Commit

Permalink
fix(ui): simplify iframe attributes in single layout
Browse files Browse the repository at this point in the history
Removed unnecessary attributes from the iframe element as these were for codesandbox.io
  • Loading branch information
Vheissu committed Dec 22, 2024
1 parent c431de8 commit 3443a45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions themes/aurelia-theme/layouts/playground/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ <h2 class="text-2xl font-semibold text-gray-900">{{ .title }}</h2>
</div>
<iframe data-src="{{ .url }}"
class="w-full h-full rounded-xl opacity-0 transition-opacity duration-300"
title="{{ .title }} Example"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts">
title="{{ .title }} Example">
</iframe>
</div>
</article>
Expand Down

0 comments on commit 3443a45

Please sign in to comment.