.TabsMoreItems-Button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .TabsMoreItems-Popover {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: var(--space-s) 0;
    background: var(--color-bg-default);
    border: 1px solid var(--color-bg-border);
    border-radius: var(--control-radius);
    -webkit-box-shadow: var(--shadow-modal);
            box-shadow: var(--shadow-modal);

    /* Если текст будет переноситься на несколько строк,
    не получится сразу правильно вычислить направление попапа и он будет скакать при открытии */
    white-space: nowrap;
  }
  .TabsMoreItems-Item {
    padding: 0 var(--space-s);
  }
  .TabsMoreItems-Item_active {
      position: relative;
    }
  .TabsMoreItems-Item_active::before {
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        bottom: 0;
        width: 2px;
        background: var(--color-bg-brand);
      }
  .TabsMoreItems-Item > * {
      width: 100%;
    }
