.app {
  :global {

    // 不知道为什么 tab title的元素的高度100%，需要覆盖掉才能正常显示
    .ant-tabs-nav .ant-tabs-tab {
      height: auto;
    }
  }
}

.editorContainer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  width: 50%;
  min-width: 500px;
  z-index: 10;

  .editorOpBar {
    background-color: #fff;

    button {
      margin-right: 8px;
    }
  }
}

.apiRecord {
  .debugWrap {
    height: 50px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
  }
}

.apiRecord,
.snippetList,
.bpMsgQueue {
  // 兼容嵌入时 小窗口的样式
  max-width: 800px;

  .opBar {
    padding-left: 10px;
    padding-bottom: 10px;
  }

  .listItem {
    display: flex;
    padding: 4px 16px;
    align-items: center;
    border-bottom: 1px solid #eee;

    .url {
      flex: 1;
      overflow: hidden;
    }
  }
}

.snippetList {
  .listItem {
    cursor: pointer;

    .sptEnabled {
      width: 20px;
    }
    .sptName {
      width: 200px;
    }
    .sptWhen {
      flex: 1;
    }
  }
}

.bpMsgQueue {
  .op button {
    margin-left: 8px;
  }
}
