[dyad] Removed double border on headline tree - wrote 2 file(s)
This commit is contained in:
@@ -40,7 +40,7 @@ const HeadlineNodeDisplay = ({
|
||||
|
||||
export function HeadlineTree({ headlines }: HeadlineTreeProps) {
|
||||
return (
|
||||
<div className="w-full border rounded-lg overflow-hidden">
|
||||
<div className="w-full rounded-lg overflow-hidden">
|
||||
<div className="-mt-px">
|
||||
{headlines.map((headline, index) => (
|
||||
<HeadlineNodeDisplay key={index} node={headline} level={0} />
|
||||
|
||||
@@ -285,7 +285,7 @@ export function MetaForm() {
|
||||
{metaData.headlines && metaData.headlines.length > 0 && (
|
||||
<TabsContent value="headlines">
|
||||
<Card className="w-full shadow-lg rounded-lg">
|
||||
<CardContent className="p-6">
|
||||
<CardContent className="p-0">
|
||||
<HeadlineTree headlines={metaData.headlines} />
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user