| /** | |
| * Copyright (c) Facebook, Inc. and its affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| .tableOfContents { | |
| max-height: calc(100vh - (var(--ifm-navbar-height) + 2rem)); | |
| overflow-y: auto; | |
| position: sticky; | |
| top: calc(var(--ifm-navbar-height) + 1rem); | |
| display: none; | |
| } | |
| @media (min-width: 997px) { | |
| .tableOfContents { | |
| display: block; | |
| } | |
| } |