Skip to content

Commit

Permalink
Merge pull request mbrn#868 from emrekara37/detailpanel-column-width
Browse files Browse the repository at this point in the history
Fixes issue mbrn#618
  • Loading branch information
mbrn authored Aug 5, 2019
2 parents e632db7 + 1d9a60b commit c6e9726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/m-table-body-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class MTableBodyRow extends React.Component {
else {
return (
<TableCell size={this.getElementSize()} padding="none" key="key-detail-panel-column">
<div style={{ width: 42 * this.props.detailPanel.length, textAlign: 'center', display: 'inline-block' }}>
<div style={{ width: 42 * this.props.detailPanel.length, textAlign: 'center', display: 'flex' }}>
{this.props.detailPanel.map((panel, index) => {

if (typeof panel === "function") {
Expand Down

0 comments on commit c6e9726

Please sign in to comment.