/**
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */


.TabLayout {
  display: flex;
  flex-direction: column;
  height: 100%;

  > .Tabs {
    background: var(--layoutTabsBackground);
    min-height: 32px;
  }

  main {
    $spacing: $margin * 2;

    flex-grow: 1;
    overflow-y: scroll; // always reserve space for scrollbar (17px)
    overflow-x: auto;
    margin: $spacing;
    margin-right: 0;
  }
}
