radames commited on
Commit
2398f39
1 Parent(s): 2ee5930

iframe resizer for Spaces

Browse files
Files changed (1) hide show
  1. frontend/src/routes/+page.svelte +6 -0
frontend/src/routes/+page.svelte CHANGED
@@ -70,6 +70,12 @@
70
  }
71
  </script>
72
 
 
 
 
 
 
 
73
  <main class="container mx-auto flex max-w-5xl flex-col gap-3 px-4 py-4">
74
  <article class="text-center">
75
  {#if pageContent}
 
70
  }
71
  </script>
72
 
73
+ <svelte:head>
74
+ <script
75
+ src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.contentWindow.min.js"
76
+ ></script>
77
+ </svelte:head>
78
+
79
  <main class="container mx-auto flex max-w-5xl flex-col gap-3 px-4 py-4">
80
  <article class="text-center">
81
  {#if pageContent}