Skip to content

Commit

Permalink
Adjust widths of various vNIC columns
Browse files Browse the repository at this point in the history
  • Loading branch information
skobyda committed May 26, 2023
1 parent acd372e commit 62ef1fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/vm/nics/vmNicsCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export class VmNetworkTab extends React.Component {
},
props: { width: 10 }
},
{ name: _("MAC address"), value: 'mac', props: { width: 20 } },
{ name: _("MAC address"), value: 'mac', props: { width: 15 } },
{
name: _("IP address"),
value: () => {
Expand All @@ -315,12 +315,12 @@ export class VmNetworkTab extends React.Component {
);
}
},
props: { width: 20 }
props: { width: Object.keys(this.state.ips).length ? 20 : 10 }
},
{
name: _("Source"),
value: (network, networkId) => <NetworkSource network={network} networkId={networkId} vm={vm} hostDevices={this.hostDevices} />,
props: { width: 10 }
props: { width: 15 }
},
{
name: _("State"),
Expand Down Expand Up @@ -405,7 +405,7 @@ export class VmNetworkTab extends React.Component {
</div>
);
},
props: { width: 20 }
props: { width: 10 }
},
];

Expand Down

0 comments on commit 62ef1fe

Please sign in to comment.