Skip to content

statamic.dev | Fixed TOC by sirmontegu

Details

Authorsirmontegu

LicenseNo License

Categorystatamic.dev

Created

Updated

Size552 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Postitions the the page TOC to left of the article so it can be accessed from anywhere on the page.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         statamic.dev | Fixed TOC
@version      20220404.20.14
@namespace    userstyles.world/user/sirmontegu
@description  Postitions the the page TOC to left of the article so it can be accessed from anywhere on the page.
@author       sirmontegu
@license      No License
==/UserStyle== */

@-moz-document domain("statamic.dev") {
#table-of-contents {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    overflow: scroll;
    margin: 0 !important;
}
}

Reviews

No reviews yet.