.api-docs {
  .ui.table td {
    vertical-align: top;
  }

  &__page {
    padding-top: 20px;
    padding-left: 30px;
    padding-bottom: 80px;
    padding-right: 30px;
    height: 100%;
    overflow-y: auto;
    min-width: 0;
    min-height: 0;
    font-size: 16px;

    a,
    span.link {
      color: #387bb1;
      cursor: pointer;
    }

    .code-copy-container {
      font-size: 14px;
    }
  }

  &__buttons {
    display: flex;
    justify-content: right;
    padding: 5px;
    gap: 1px;

    .icon {
      width: 24px;
      height: 24px;
      padding: 4px;
      border-radius: 2px;
    }

    .edit-button {
      &--active {
        color: #6a9b33;
      }
    }
  }

  &__item {
    margin-top: 20px;
    margin-bottom: 30px;

    &-name {
      font-size: 20px;
    }
  }

  &__component {
    margin-top: -10px;
    padding-top: 10px;
  }

  h2[id] {
    position: relative;
    scroll-margin-top: 55px;
    cursor: pointer;

    > a {
      display: inline-flex;
      visibility: hidden;
      margin-left: -0.8em;
      padding-right: 0.2em;
      text-decoration: none;

      .icon-link::after {
        content: '#';
        color: var(--mantine-color-green-9);
      }
    }

    &:hover a {
      visibility: visible;
    }
  }
}
