[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) {
|
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} />
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user