.edgebutton { width: 20px; height: 20px; background: #eee; border: 1px solid #fff; cursor: pointer; border-radius: 50%; font-size: 12px; line-height: 1; } .edgebutton:hover { background: #5e35b1; color: #eee; box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.08); } .edgebutton-foreignobject div { background: transparent; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; min-height: 40px; } .reactflow-parent-wrapper { display: flex; flex-grow: 1; height: 100%; } .reactflow-parent-wrapper .reactflow-wrapper { flex-grow: 1; height: 100%; }