/*!
 * Copyright (c) 2024 PLANKA Software GmbH
 * Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
 */

:global(#app) {
  .wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    max-height: 60vh;
    overflow-y: auto;

    @supports (-moz-appearance: none) {
      scrollbar-color: rgba(0, 0, 0, 0.32) transparent;
      scrollbar-width: thin;
    }

    &:after {
      clear: both;
      content: "";
      display: table;
    }

    &::-webkit-scrollbar {
      width: 9px;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background-clip: padding-box;
      border-left: 0.25em transparent solid;
      border-radius: 3px;
    }
  }
}
