MsDocToc

Sticky Microsoft Docs TOC

/* ==UserStyle==
@name           MsDocToc
@namespace      mailto: fish404hsif@gmail.com
@version        0.1.1
@description    Sticky Microsoft Docs TOC 
@author         fish-404
@license        MIT
==/UserStyle== */
@-moz-document domain("docs.microsoft.com"), domain("learn.microsoft.com") {
    .is-vertically-scrollable {
        position: sticky;
        top: 3vh;
    }

    #right-rail-in-this-article-list {
        overflow-y: auto;
        max-height: 70vh;
    }  
}