From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UB0sIB4Hzl7TQgAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 06:22:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IDQDHB4Hzl7ENgAAbx9fmQ (envelope-from ) for ; Wed, 27 May 2020 06:22:22 +0000 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 2D53B940416 for ; Wed, 27 May 2020 06:22:22 +0000 (UTC) Received: from localhost ([::1]:59138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdpSH-00052c-5H for larch@yhetil.org; Wed, 27 May 2020 02:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdn4Y-000087-5f for emacs-orgmode@gnu.org; Tue, 26 May 2020 23:49:42 -0400 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:45508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdn4X-0003SA-GM for emacs-orgmode@gnu.org; Tue, 26 May 2020 23:49:41 -0400 Received: by mail-ot1-x330.google.com with SMTP id c3so18114581otr.12 for ; Tue, 26 May 2020 20:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=snjpYbc1MdrMQ71Jf0W09YZoljfMtljz1VJ83nhloNA=; b=SLeICITyYepvKxnQHVEmAvjgPuOL7moWEDD7mGm2wecj7S5Hz4F3iYxKetDW/IfivV cCfUB2a30mmCzXyCzHnyr0Ob921WNnYPbA3brCm1OvBnjgOZEpQBdYyowbXhTLdPUmOC 5mrXmE3ia1GVWktNIcoNaN0eP98lwgSG7oi2jFzZS26Th8N60tNbCHJvMJXPoDM/55h+ G1IY0l7Tvpf/7vxSzfXa95B9TNvKeElsrStJDCPS2PZBdXqkimTih5TRAY86Xvc4dVq4 nx8qNJiwrw/wH5wSDBW+pTMZC9uSG03wF8lZhs39oJckEgPEzdeu0tFm86MRPdQ/2pP7 2wUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=snjpYbc1MdrMQ71Jf0W09YZoljfMtljz1VJ83nhloNA=; b=K+Qub3u5LKSBNJd2p4aDeA54oDuCRmB/74Fpw9dCYHkGsjP3Qh158ucYKgXWnAtZ1E 8jNOsqPTAT3J6zYgdzxgyHAxiaZ02h2OfBjZ3Z4Zzd51cvLBITAaWk3HAiIAenLRtKGx 7wsaGMPtvT97gcyoIFtAFEtq77h4UsACa9vRpavhfvH7gXqYBjVotYpEVOQAMWqOQmT2 7/PQkBK4bNSlyDcxj7fpuGJwGE6pq0SVwGNr96n9xqmPW7iwM7rBNll1kY+8j8EjUVuT aUsnIpL/MG23U0SsTA/b84WTrQ3eS0S4fskM2HmP9RCnqffo29JiUXt1S91Edx5i12Ex 4fyg== X-Gm-Message-State: AOAM532Yldw782p6vBaYsc+zbsIOz2fBD2g27+T+OhUJVEyxvYCa/zJV PBbwQ1seXXaIM9MqHNyY8FjgRfCPoUKATfw4QCJOxxyjDig= X-Google-Smtp-Source: ABdhPJwx/MDqswz/O2arIbWifqy59piDBmfFF0faiUdYFd0LuEkheAAJcOAg1DhbzJEl/bFqpSD+Hu8WXlXTyglskDY= X-Received: by 2002:a9d:2215:: with SMTP id o21mr3425836ota.203.1590551379565; Tue, 26 May 2020 20:49:39 -0700 (PDT) MIME-Version: 1.0 From: Seshal Jain Date: Wed, 27 May 2020 09:19:28 +0530 Message-ID: Subject: Bug: ox-html.el: Code blocks extend out of box border To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000f9e12c05a6991909" Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=seshaljain11@gmail.com; helo=mail-ot1-x330.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Wed, 27 May 2020 02:20:46 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=SLeICITy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: UC7wKCjonn8o --000000000000f9e12c05a6991909 Content-Type: text/plain; charset="UTF-8" The exported html from Org Mode contains a style for element pre.src, overflow: visible. This causes code elements with reasonably long lines to extend out of the box boundaries, causing a horizontal scroll of the document. Changing overflow: visible to overflow: auto should solve this, making the pre element scrollable instead and keeping the code from leaking into the page and causing a horizontal scroll on the document. --000000000000f9e12c05a6991909 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The exported html from Org Mode contains a style for eleme= nt pre.src,
overflow: visible. This causes code elements with reasonably=
long lines to extend out of the box boundaries, causing a horizontal
scroll of the document.
Changing overflow: visible to overf= low: auto
should solve this, making the pre element scrollable instead= and keeping the
code from leaking into the page and causing a horizonta= l scroll on the document.
--000000000000f9e12c05a6991909--