[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Worg] Keep table of contents visible in wide viewports?
From: |
Ihor Radchenko |
Subject: |
Re: [Worg] Keep table of contents visible in wide viewports? |
Date: |
Mon, 13 May 2024 11:11:42 +0000 |
Adam Porter <adam@alphapapa.net> writes:
> Looking at Worg now, it occurred to me that, when my browser window is
> maximized, there's plenty of room for the table of contents to remain
> visible alongside the content. But it's hidden automatically, and
> remains hidden until the user interacts with it, which seems suboptimal
> for an intra-page table of contents.
>
> Could we modify it to keep the ToC visible when the window is wide
> enough? I think that would be a big usability improvement. WDYT?
I tried
/* Show when screen is wide enough */
@media only screen and (min-width: 100em) {
#table-of-contents #text-table-of-contents {
display: block;}}
However, it looks distracting, IMHO. (I tried on
https://orgmode.org/worg/org-tutorials/index.html)
If we want to display TOC all the time on wide screens, we should change
the TOC style to be more subtle. Creativity is needed.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Worg] Keep table of contents visible in wide viewports?,
Ihor Radchenko <=