summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/sidebars/topology/rack/MachineComponent.js4
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