Browse Source

refactor: add iframe props same as base share

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4696/head
Pranav C 2 years ago
parent
commit
887c661edf
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

7
packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

@ -200,7 +200,12 @@ const isRtl = computed(() => isRtlLang(locale.value as any))
const iframeCode = computed(() => { const iframeCode = computed(() => {
if (!sharedViewUrl.value) return if (!sharedViewUrl.value) return
return `<iframe src="${sharedViewUrl.value}?embed" width="100%" height="600"/>` return `<iframe class="nc-embed"
"src="${sharedViewUrl.value}?embed"
frameborder="0"
width="100%"
height="700"
style="background: transparent; border: 1px solid #ddd"/>`
}) })
const copyIframeCode = async () => { const copyIframeCode = async () => {

Loading…
Cancel
Save