Re: TOC positioning wrt to content in default css

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/TOC-positioning-wrt-to-content-in-default-css-tp8235p8257.html

> I was wondering how they can operate independently, so the above (overflow) seems to do the
trick.

That's correct.

-Dan

On Mon, Sep 14, 2020 at 3:18 PM Frankie Liu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi Dan,

When the window shrinks, the toc gets a scrollbar, I was wondering what was setting that, I found that it is the

overflow: auto

It is interesting that the content gets the page's scrollbar, while the div for the toc gets its own.
I was wondering how they can operate independently, so the above (overflow) seems to do the
trick.

-frankie


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/TOC-positioning-wrt-to-content-in-default-css-tp8235p8256.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux