ox-twbs icon indicating copy to clipboard operation
ox-twbs copied to clipboard

Improve behavior of table of contents on small screens

Open avivo opened this issue 10 years ago • 2 comments

The toc currently is put at the bottom of the document in collapsed form (in windows with a small width). It would be more useful to either remove it, or ideally provide a way to minimize and expand it as needed.

This was also mentioned in https://github.com/marsmining/ox-twbs/issues/4#issuecomment-120740736

Regardless, this is very useful, thanks for making it! If I fix this myself I can send a pull request if you'd like.

avivo avatar Jul 23 '15 19:07 avivo

Thanks for the feedback! I probably prefer the minimize / expand idea. Maybe best solution would be providing a configuration option for how toc is displayed on smaller viewports. I'll try to look at this over the weekend. Always open to pull requests too.

marsmining avatar Jul 24 '15 13:07 marsmining

Great! I'm also curious to ask, why did you choose to make a new mode instead of a derived mode?

avivo avatar Jul 25 '15 02:07 avivo