diff --git a/src/frontend/src/components/common/sanitizedHTMLWrapper/index.tsx b/src/frontend/src/components/common/sanitizedHTMLWrapper/index.tsx index 4ec8e88b8..5271627f7 100644 --- a/src/frontend/src/components/common/sanitizedHTMLWrapper/index.tsx +++ b/src/frontend/src/components/common/sanitizedHTMLWrapper/index.tsx @@ -1,3 +1,4 @@ +import { cn } from "@/utils/utils"; import DOMPurify from "dompurify"; import { forwardRef } from "react"; import { SanitizedHTMLWrapperType } from "../../../types/components"; @@ -15,7 +16,7 @@ const SanitizedHTMLWrapper = forwardRef< dangerouslySetInnerHTML={{ __html: sanitizedHTML }} suppressContentEditableWarning={suppressWarning} {...props} - className="m-1 w-full" + className={cn("m-1 w-full", props.className)} /> ); }); diff --git a/src/frontend/src/modals/promptModal/index.tsx b/src/frontend/src/modals/promptModal/index.tsx index 9c761f9c4..184d594a3 100644 --- a/src/frontend/src/modals/promptModal/index.tsx +++ b/src/frontend/src/modals/promptModal/index.tsx @@ -257,7 +257,7 @@ export default function PromptModal({ ) : ( {${name}}`; + const html = `{${name}}`; return html; } diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 72f388a17..23a35adc3 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -1111,7 +1111,7 @@ } .chat-message-highlight { - @apply rounded-md bg-indigo-100 px-0.5 dark:bg-indigo-900; + @apply rounded-md bg-indigo-100 px-0 font-semibold dark:bg-indigo-900; } .field-invalid {