Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: transparent background for automation detail prompt section (#615)

Hiep Le456f9f6ec280
diff --git a/src/components/features/automations/detail/prompt-section.tsx b/src/components/features/automations/detail/prompt-section.tsx
index 757022be46..96767397bf 100644
--- a/src/components/features/automations/detail/prompt-section.tsx
+++ b/src/components/features/automations/detail/prompt-section.tsx
@@ -15,11 +15,9 @@ export function PromptSection({ prompt }: PromptSectionProps) {
icon={<TerminalIcon className="size-4" />}
title={t(I18nKey.AUTOMATIONS$DETAIL$PROMPT)}
>
- <div className="rounded-xl bg-[var(--oh-surface-deep)]">
- <p className="whitespace-pre-wrap text-sm leading-6 text-content">
- {prompt}
- </p>
- </div>
+ <p className="whitespace-pre-wrap text-sm leading-6 text-content">
+ {prompt}
+ </p>
</SectionCard>
);
}