From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms1.migadu.com with LMTPS
	id SBifI1L1QWYJYgAAe85BDQ:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 13 May 2024 13:11:14 +0200
Received: from aspmx1.migadu.com ([2001:41d0:403:4876::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2.migadu.com with LMTPS
	id SBifI1L1QWYJYgAAe85BDQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 13 May 2024 13:11:14 +0200
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=gXur14jG;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1715598674;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=76KI2be9g1DrErG+42diOhD94xr98w63f6Mvk51bwLk=;
	b=eKOAiyCtMCIF4hw1MMfc/DuUPAvmPMOxAgjM7W8ddFB+R+zOkn68r1GUiHEmdU+F7JfoKi
	mEK59kh6HWRrvH0VMO/UU35pKFtp4qEEYIl3p06MgBtnggOhKsmDcmlU8bLL4yBE+kBshB
	C+/uqcAz2mSsec5z9MQKtZbf/CXk/XjzNyLkZqcdwSiSGV1+BXa/0t87cYY9igD0EkKQGA
	unIbkn72R0Y2QG4hW7FoifsX1MU3LwQcPyxM5CtNEtVwrdYW6uYk7iiF0Vq25XWx8p1pbI
	PCtAdIFKlMDqbpIIGIalKz2fEafjHFu6cYzHpkaejrTKHaeD1S3V9aay9L5VUg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=posteo.net header.s=2017 header.b=gXur14jG;
	spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=posteo.net
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715598674; a=rsa-sha256; cv=none;
	b=dWjEooyuodVh/zwNtyOfWqjio8Oi8TGHnR/wHvE94gG9wAh4VkwAlQ/m4BG1T09TIidhad
	kUDurEfCZrVZ5Ojmu2Tb2790b+M5Sw4gtrzfuUgVUKRbeRZMz0pKZd+QvCxvHyBUIRcrK7
	Ec99zUhK6g31boB0D6H1VDheoqsXwRxFdbcVbP9gFH932yDM9q/lPB91BYe/ytiska9fRk
	uya4N96/8BcNcOH6l6xZ/w+71CYHvmRu+hMtfDQcmx4OXY5TNqy7dzs8Bf6rVtT37mVuAV
	kEjMahq1lAZ0+BmzEIP3Gu2pFJbHZSsAZ3nyMikQSjnAxbardm0cut4pmoTPQA==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id E7A1D723D9
	for <larch@yhetil.org>; Mon, 13 May 2024 13:11:13 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1s6TZO-0006Oh-UQ; Mon, 13 May 2024 07:10:15 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1s6TZM-0006OY-RS
 for emacs-orgmode@gnu.org; Mon, 13 May 2024 07:10:12 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@posteo.net>)
 id 1s6TZK-0003aw-8D
 for emacs-orgmode@gnu.org; Mon, 13 May 2024 07:10:12 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 9901D240104
 for <emacs-orgmode@gnu.org>; Mon, 13 May 2024 13:10:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1715598607; bh=nIJT7DcfDix7IakXywstPdnYcVnMbuENBy/HfXWB3jY=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=gXur14jGjp9NfadCasN20f1oKHH3CgMie8SVYNYSajYF9XPXvHkyjw2AW5Y4nv58E
 vOHDXuPk3QXEnJKS+Iqw6DMq+wDSt4A1zQughQY0ugt1qaXqyut5yGJxWAQq4GVhzE
 EVtXFulEGPjuIUIwjT6xFciPAaMjmV7+zKN3gxcFKszdh9TI+XopE0Wu1DIbew5lrc
 l2wCXYB0x7Nhsa8ecJp6W9iLINUvTFH0/qFce04lIP5jJcXFtvtLedRxYMtvjLxO17
 GRHb748Zi/WX1dReFfuxm6dLdrlQ7j+fMwMorhsEWHKrJEMTeUmfgraRBLQ3tPSzRj
 ltFk3xTl32EcA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VdGwt4KHjz9rxL;
 Mon, 13 May 2024 13:10:06 +0200 (CEST)
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?
In-Reply-To: <c2f322c2-04d8-4593-babc-8d85bba0bfb2@alphapapa.net>
References: <c2f322c2-04d8-4593-babc-8d85bba0bfb2@alphapapa.net>
Date: Mon, 13 May 2024 11:11:42 +0000
Message-ID: <87seymezkh.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-orgmode@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Spam-Score: -5.68
X-Migadu-Queue-Id: E7A1D723D9
X-Migadu-Scanner: mx10.migadu.com
X-Migadu-Spam-Score: -5.68
X-TUID: H+7N2OdQQHna

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>