Timothy J. Baek 7 月之前
父节点
当前提交
539e95a206
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/chat/Artifacts.svelte

+ 1 - 1
src/lib/components/chat/Artifacts.svelte

@@ -57,12 +57,12 @@
                         <head>
                         <head>
                             <meta charset="UTF-8">
                             <meta charset="UTF-8">
                             <meta name="viewport" content="width=device-width, initial-scale=1.0">
                             <meta name="viewport" content="width=device-width, initial-scale=1.0">
-                            ${cssContent}
 							<${''}style>
 							<${''}style>
 								body {
 								body {
 									background-color: white; /* Ensure the iframe has a white background */
 									background-color: white; /* Ensure the iframe has a white background */
 								}
 								}
 							</${''}style>
 							</${''}style>
+							${cssContent}
                         </head>
                         </head>
                         <body>
                         <body>
                             ${htmlContent}
                             ${htmlContent}