@root-entry-name: 'default';
@import '~antd/es/style/themes/index.less';
@ec-device-tree-prefix-cls: ~'@{ant-prefix}-ec-device-tree-group';

.@{ec-device-tree-prefix-cls} {
  height: 100%;
  padding: 10px;
  overflow: hidden;

  &-tree-wrap {
    height: calc(100% - 48px);
    overflow: auto;
    padding-right: 4px;
  }

  .@{ant-prefix}-input-search {
    margin-bottom: 16px;
  }

  .@{ant-prefix}-tree {
    &-treenode {
      overflow: hidden;
      width: 100%;
    }

    &-node-content-wrapper {
      overflow: hidden;
    }
  }
}