/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.fxview-tab-list {
  &.pinned {
    display: flex;
    flex-wrap: wrap;

    > virtual-list {
      display: block;
    }

    > opentabs-tab-row {
      display: block;
      margin-block-end: var(--space-xsmall);
    }
  }

  &.hasContainerTab {
    grid-template-columns: min-content 3fr min-content 2fr 1fr 1fr min-content min-content;
  }
}

virtual-list {
  grid-column: span 9;

  .top-padding,
  .bottom-padding {
    grid-column: span 9;
  }
}
