Fix sidebar layout
This commit is contained in:
@@ -41,13 +41,13 @@ function ValuePanel(props: Props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ width: '100%', display: 'flex', paddingLeft: '8px' }}>
|
<div style={{ width: '100%', display: 'flex', paddingLeft: '8px', flexWrap: 'wrap' }}>
|
||||||
<span style={{ marginTop: '2px', flexGrow: 1 }}>
|
<span style={{ marginTop: '2px', flexGrow: 1 }}>
|
||||||
<ActionButtons />
|
<ActionButtons />
|
||||||
</span>
|
</span>
|
||||||
<div style={{ flex: 6, textAlign: 'right' }}>
|
<span style={{ flex: 6, textAlign: 'right' }}>
|
||||||
{props.node.mqttMessage.retain ? <DeleteSelectedTopicButton /> : null}
|
{props.node.mqttMessage.retain ? <DeleteSelectedTopicButton /> : null}
|
||||||
</div>
|
</span>
|
||||||
{messageMetaInfo()}
|
{messageMetaInfo()}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user