Skip to content

Commit

Permalink
⚡ Allows full-screen for iframes (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Mar 27, 2022
1 parent 3d9c646 commit e616d90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/LinkItems/IframeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
classes="dashy-modal">
<div slot="top-right" @click="hide()">Close</div>
<a @click="hide()" class="close-button" title="Close">x</a>
<iframe v-if="url" :src="url" @keydown.esc="close" class="frame"/>
<iframe v-if="url" :src="url" @keydown.esc="close" class="frame" allow="fullscreen" />
<div v-else class="no-url">No URL Specified</div>
</modal>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Workspace/WebContent.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="web-content" :id="id">
<iframe :src="url" />
<iframe :src="url" allow="fullscreen" />
</div>
</template>

Expand Down

0 comments on commit e616d90

Please sign in to comment.