Skip to content

Disable TOC in .NET API docs by v3xro

Screenshot of Disable TOC in .NET API docs

Details

Authorv3xro

LicenseNo License

Categorylearn.microsoft.com

Created

Updated

Code size486 B

Code checksum8184d14d

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Disable the non-sticky Table of Contents in the .NET API doc pages.

Notes

Userstyle doesn't have notes.

Source code

@name Disable TOC in .NET API docs
@namespace https://github.com/v3xro
@version 0.1


@-moz-document url-prefix("https://learn.microsoft.com/en-us/dotnet/api/") {
div#main-column {
    width: inherit;
    flex: inherit;
}

div.content > div[data-moniker]:not(.buttons):not(.codeHeader) {
    border: 1px dashed gray;
    border-radius: 3px;
    margin: 0.5em 0;
    padding: 0.3em;
}

div#ms--additional-resources.right-container {
    display: none !important;
}
}

Reviews

No reviews yet.