Switch to using tables for properties.
This commit is contained in:
@@ -137,15 +137,19 @@ const OrgPropertiesList = (props: {
|
||||
const entries = Object.entries(props.properties).map(([key, value]) => {
|
||||
return (
|
||||
<Fragment key={key}>
|
||||
<dt>{key}</dt>
|
||||
<dd>{JSON.stringify(value)}</dd>
|
||||
<tr>
|
||||
<th scope="row">{key}:</th>
|
||||
<td>{JSON.stringify(value)}</td>
|
||||
</tr>
|
||||
</Fragment>
|
||||
);
|
||||
});
|
||||
return (
|
||||
<dl>
|
||||
{entries}
|
||||
</dl>
|
||||
<table className={styles.OrgAstProperties}>
|
||||
<tbody>
|
||||
{entries}
|
||||
</tbody>
|
||||
</table>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user