Fix styling on RowValues component
parent
7b04966f0c
commit
22b7a8bd49
|
@ -41,9 +41,13 @@ const RowValues = ({
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
return values.length
|
return (
|
||||||
? <span>{_values}</span>
|
<div className="td">
|
||||||
: <span>(No values to display)</span>
|
{values.length
|
||||||
|
? <span>{_values}</span>
|
||||||
|
: <span>(No values to display)</span>}
|
||||||
|
</div>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const RowButtons = ({
|
const RowButtons = ({
|
||||||
|
@ -144,15 +148,13 @@ const TemplateVariableRow = ({
|
||||||
onStartEdit={onStartEdit}
|
onStartEdit={onStartEdit}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="td">
|
<RowValues
|
||||||
<RowValues
|
selectedType={selectedType}
|
||||||
selectedType={selectedType}
|
values={values}
|
||||||
values={values}
|
isEditing={isEditing}
|
||||||
isEditing={isEditing}
|
onStartEdit={onStartEdit}
|
||||||
onStartEdit={onStartEdit}
|
autoFocusTarget={autoFocusTarget}
|
||||||
autoFocusTarget={autoFocusTarget}
|
/>
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div className="td" style={{display: 'flex'}}>
|
<div className="td" style={{display: 'flex'}}>
|
||||||
<RowButtons
|
<RowButtons
|
||||||
onStartEdit={onStartEdit}
|
onStartEdit={onStartEdit}
|
||||||
|
|
Loading…
Reference in New Issue