Skip to content

Commit e3766e2

Browse files
committed
fix: cleanup
1 parent e4afef7 commit e3766e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPageExperimental.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { useClipboard } from "hooks/useClipboard";
1818
import { DynamicParameter } from "modules/workspaces/DynamicParameter/DynamicParameter";
1919
import { useTemplateLayoutContext } from "pages/TemplatePage/TemplateLayout";
2020
import { type FC, useCallback, useEffect, useRef, useState } from "react";
21-
import React from "react";
21+
import type React from "react";
2222
import { Helmet } from "react-helmet-async";
2323
import { useQuery } from "react-query";
2424
import { useSearchParams } from "react-router-dom";
@@ -209,10 +209,10 @@ const TemplateEmbedPageView: FC<TemplateEmbedPageViewProps> = ({
209209
{isLoading ? (
210210
<Loader />
211211
) : (
212-
<div css={{ display: "flex", alignItems: "flex-start", gap: 48 }}>
213-
<div css={{ flex: 1, maxWidth: 400 }}>
212+
<div className="flex items-start gap-12">
213+
<div className="flex-1 max-w-96">
214214
{wsError && (
215-
<div css={{ marginBottom: 16, color: "red" }}>
215+
<div className="mb-4 text-content-destructive">
216216
<strong>Error: </strong> {wsError.message}
217217
</div>
218218
)}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy