@include comp(tree-node-with-menu) {
  display: flex;
  align-items: center;

  .tree-node-with-menu-content {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tree-node-with-menu-button {
    height: 1em;
    width: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    //transition: all ease 0.3s;
  }

  &.tree-node-with-menu-draggable {
    .tree-node-with-menu-button {
      cursor: row-resize;
      padding-right: 6px;
    }
  }
}

@include comp(tree-node) {
  &:not(:hover) {
    .tree-node-with-menu-button {
      opacity: 0;
      width: 0;
      pointer-events: none;
    }
  }
}
