wip fix name
This commit is contained in:
parent
f952544139
commit
aa3940ec40
|
|
@ -164,9 +164,12 @@ const Name: FC<{ name: string; is_jsx_prop: boolean; meta?: IMeta }> = ({
|
||||||
>
|
>
|
||||||
P
|
P
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<div className="flex-1">
|
<div className="flex-1 relative self-stretch">
|
||||||
{name}
|
<div className="absolute inset-0 flex items-center">
|
||||||
{comp_label && `: ${comp_label}`}
|
<div className="truncate text-ellipsis">
|
||||||
|
{name + (comp_label ? `: ${comp_label}` : "")}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{meta && meta.mitem && active.comp_id !== comp_id && (
|
{meta && meta.mitem && active.comp_id !== comp_id && (
|
||||||
<GenerateJSX meta={meta} />
|
<GenerateJSX meta={meta} />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue