opened
Honghe
username_0
![image](https://user-images.githubusercontent.com/1092722/39854872-394be460-545c-11e8-8cfa-0c8a0da4d5cd.png)
How to customize the indent size of TOC
issue
created
ian-r-rose
username_1
This value (currently 32px) is hard-coded into the style sheet for the extension.
Right now, I can think of three ways to customize it:
1. Keep a custom version of the extension with [this](https://github.com/username_1/jupyterlab-toc/blob/master/style/index.css#L13) line set to your liking.
2. Make a JupyterLab theme extension, where you set `--jp-private-toc-indent-width`.
3. If you want a more temporary solution, you can load some CSS by opening a code console and entering
```
%%html
<style>
:root {
    --jp-private-toc-indent-width: 10px;
}
</style>
```
comment
created
Honghe
username_0
Thx!
comment