/*
 * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
 *
 * SPDX-License-Identifier: AGPL-3.0-only
 */

.markdown-toc-sidebar-button {
  position: fixed;
  right: 5rem;
  bottom: 1rem;

  & > :global(.dropup) {
    position: sticky;
    bottom: 20px;
    right: 0;
  }
}

@media print {
  .markdown-toc-sidebar-button {
    display: none;
  }
}
