mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Change style of objects inside lists
This commit is contained in:
@@ -632,7 +632,11 @@ function ListBody({ type: outerType, node, makeEdit, ctx }: ListBodyProps) {
|
||||
<Key label="entry" />
|
||||
<Head type={childType} node={child} makeEdit={makeItemEdit} ctx={ctx} />
|
||||
</div>
|
||||
<Body type={childType} node={child} makeEdit={makeItemEdit} ctx={ctx} />
|
||||
{childType.kind === 'struct'
|
||||
? <div class="node-body-flat">
|
||||
<StructBody type={childType} node={child} makeEdit={makeItemEdit} ctx={ctx} />
|
||||
</div>
|
||||
: <Body type={childType} node={child} makeEdit={makeItemEdit} ctx={ctx} />}
|
||||
</div>
|
||||
})}
|
||||
{node.children.length > 0 && <div class="node-header">
|
||||
|
||||
Reference in New Issue
Block a user