diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-08 11:09:37 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:59 +0200 |
| commit | 6296bb95ba93cb9111e19f06329b6c9b9aec57d5 (patch) | |
| tree | d0aabf6a6c1606f16f11d6f653b904997e7010f2 /src/components/sidebars/topology/rack/MachineComponent.js | |
| parent | fc9c52a8f102202bd0e1a8a9dc4d8d68babe2304 (diff) | |
Fetch all unit specifications on initial datacenter load
Diffstat (limited to 'src/components/sidebars/topology/rack/MachineComponent.js')
| -rw-r--r-- | src/components/sidebars/topology/rack/MachineComponent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/sidebars/topology/rack/MachineComponent.js b/src/components/sidebars/topology/rack/MachineComponent.js index c395b522..4854456c 100644 --- a/src/components/sidebars/topology/rack/MachineComponent.js +++ b/src/components/sidebars/topology/rack/MachineComponent.js @@ -6,7 +6,7 @@ const UnitIcon = ({id, type}) => ( <img src={"/img/topology/" + id + "-icon.png"} alt={"Machine contains " + type + " units"} - className="img-fluid" + className="img-fluid ml-1" style={{maxHeight: "35px"}} /> </div> @@ -20,7 +20,7 @@ const MachineComponent = ({position, machine, onClick}) => ( <span className="badge badge-default badge-info mr-1"> {position} </span> - <div> + <div className="d-inline-flex"> {machine.cpuIds.length > 0 ? <UnitIcon id="cpu" type="CPU"/> : undefined |
