Confluence: Simple Floating ToC

Makes widget from macro "Table of Contents" float on the right hand side of content.

2023/01/11のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
andrybak
評価
0 0 0
バージョン
1
作成日
2023/01/11
更新日
2023/01/11
大きさ
2.13KB
ライセンス
MIT
対象サイト

Confluence – Simple Floating Table of Contents

This style moves the table of contents to the right side of the page and makes the table of contents "sticky", floating in the same place when scrolling.

Demo

https://user-images.githubusercontent.com/624072/211896771-f93fd25a-a199-4bb0-9766-46dfe09438ce.mp4

Instructions

The script uses @url-prefix rules to work on any domain that starts with the word confluence. If your Confluence instance uses a domain which doesn't start with the word confluence, you'll have to manually add your custom domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/confluence-simple-floating-toc.user.css