diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-07 17:22:24 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:58 +0200 |
| commit | a08deff7909b68a89662f8b93845918bdc613732 (patch) | |
| tree | 4b995d9826891c6e84987b29bf071117f4307706 /src/components/sidebars/topology/rack/EmptySlotComponent.js | |
| parent | e9909159dc5db91eda12437e18c1474cae848af7 (diff) | |
Finish rack mode machine list rendering
Diffstat (limited to 'src/components/sidebars/topology/rack/EmptySlotComponent.js')
| -rw-r--r-- | src/components/sidebars/topology/rack/EmptySlotComponent.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/sidebars/topology/rack/EmptySlotComponent.js b/src/components/sidebars/topology/rack/EmptySlotComponent.js index 5234ee63..1ca13b67 100644 --- a/src/components/sidebars/topology/rack/EmptySlotComponent.js +++ b/src/components/sidebars/topology/rack/EmptySlotComponent.js @@ -2,13 +2,13 @@ import React from "react"; import FontAwesome from "react-fontawesome"; const EmptySlotComponent = ({position, onAdd}) => ( - <li className="list-group-item justify-content-between"> - <span className="badge badge-default badge-info"> - {position} - </span> - Add machine - <button className="btn btn-secondary" onClick={onAdd}> - <FontAwesome name="plus"/> + <li className="list-group-item d-flex justify-content-between align-items-center"> + <span className="badge badge-default badge-info mr-1"> + {position} + </span> + <button className="btn btn-outline-primary" onClick={onAdd}> + <FontAwesome name="plus" className="mr-1"/> + Add machine </button> </li> ); |
