diff --git a/public/components/incontext_insight/generate_popover_body.tsx b/public/components/incontext_insight/generate_popover_body.tsx index 22171fe0..7116521e 100644 --- a/public/components/incontext_insight/generate_popover_body.tsx +++ b/public/components/incontext_insight/generate_popover_body.tsx @@ -141,18 +141,13 @@ export const GeneratePopoverBody: React.FC<{ const content = showInsight && insightAvailable ? insight : summary; return content ? ( <> - - + + {content} + + {renderInnerFooter()} - ) : ( @@ -232,7 +227,6 @@ export const GeneratePopoverBody: React.FC<{ <> {renderInnerTitle()} {renderContent()} - {renderInnerFooter()} ); }; diff --git a/public/components/incontext_insight/index.scss b/public/components/incontext_insight/index.scss index 42813465..08282529 100644 --- a/public/components/incontext_insight/index.scss +++ b/public/components/incontext_insight/index.scss @@ -165,8 +165,7 @@ .incontextInsightGeneratePopoverFooter{ padding-block: 0 !important; - margin-top: 0 !important; - margin-bottom: 0 !important; + margin: 0 !important; border: none; }