diff --git a/web/public/iconfont.js b/web/public/iconfont.js index 94672574f..d717db4d5 100644 --- a/web/public/iconfont.js +++ b/web/public/iconfont.js @@ -1,5 +1,5 @@ (window._iconfont_svg_string_4909832 = - ''), + ''), ((h) => { var a = (l = (l = document.getElementsByTagName('script'))[ l.length - 1 diff --git a/web/src/components/icon-font.tsx b/web/src/components/icon-font.tsx index 3344da258..a0b9a8e12 100644 --- a/web/src/components/icon-font.tsx +++ b/web/src/components/icon-font.tsx @@ -8,7 +8,7 @@ type IconFontType = { }; export const IconFont = ({ name, className }: IconFontType) => ( - + ); diff --git a/web/src/components/xyflow/base-node.tsx b/web/src/components/xyflow/base-node.tsx index 222afdaa1..accfb4b42 100644 --- a/web/src/components/xyflow/base-node.tsx +++ b/web/src/components/xyflow/base-node.tsx @@ -9,7 +9,7 @@ export const BaseNode = forwardRef<
) { return ( -
+
@@ -67,6 +67,7 @@ function NoteNode({ data, id, selected }: NodeProps) { placeholder={t('flow.notePlaceholder')} {...field} type="text" + className="bg-transparent border-none focus-visible:outline focus-visible:outline-text-sub-title" /> @@ -86,7 +87,7 @@ function NoteNode({ data, id, selected }: NodeProps) {