From: Ihor Radchenko <yantar92@posteo.net>
To: Adam Porter <adam@alphapapa.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Worg] Keep table of contents visible in wide viewports?
Date: Mon, 13 May 2024 11:11:42 +0000 [thread overview]
Message-ID: <87seymezkh.fsf@localhost> (raw)
In-Reply-To: <c2f322c2-04d8-4593-babc-8d85bba0bfb2@alphapapa.net>
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 parent reply other threads:[~2024-05-13 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-23 13:57 [Worg] Keep table of contents visible in wide viewports? Adam Porter
2024-03-23 14:06 ` Ihor Radchenko
2024-05-13 11:11 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87seymezkh.fsf@localhost \
--to=yantar92@posteo.net \
--cc=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.