[dyad] Removed double border on headline tree - wrote 2 file(s)

This commit is contained in:
[dyad]
2026-01-20 14:17:15 +01:00
parent cdb1436457
commit 393cb4cf7a
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ const HeadlineNodeDisplay = ({
export function HeadlineTree({ headlines }: HeadlineTreeProps) { export function HeadlineTree({ headlines }: HeadlineTreeProps) {
return ( return (
<div className="w-full border rounded-lg overflow-hidden"> <div className="w-full rounded-lg overflow-hidden">
<div className="-mt-px"> <div className="-mt-px">
{headlines.map((headline, index) => ( {headlines.map((headline, index) => (
<HeadlineNodeDisplay key={index} node={headline} level={0} /> <HeadlineNodeDisplay key={index} node={headline} level={0} />

View File

@@ -285,7 +285,7 @@ export function MetaForm() {
{metaData.headlines && metaData.headlines.length > 0 && ( {metaData.headlines && metaData.headlines.length > 0 && (
<TabsContent value="headlines"> <TabsContent value="headlines">
<Card className="w-full shadow-lg rounded-lg"> <Card className="w-full shadow-lg rounded-lg">
<CardContent className="p-6"> <CardContent className="p-0">
<HeadlineTree headlines={metaData.headlines} /> <HeadlineTree headlines={metaData.headlines} />
</CardContent> </CardContent>
</Card> </Card>