From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UjSvC6mlzF8/EAAA0tVLHw (envelope-from ) for ; Sun, 06 Dec 2020 09:34:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GFMGB6mlzF/eXQAAB5/wlQ (envelope-from ) for ; Sun, 06 Dec 2020 09:34:33 +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 BD769940149 for ; Sun, 6 Dec 2020 09:34:32 +0000 (UTC) Received: from localhost ([::1]:34926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klqR5-0005eX-Dq for larch@yhetil.org; Sun, 06 Dec 2020 04:34:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klqPe-0005eD-N3 for emacs-orgmode@gnu.org; Sun, 06 Dec 2020 04:33:02 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:44104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klqPc-00044T-Ek for emacs-orgmode@gnu.org; Sun, 06 Dec 2020 04:33:02 -0500 Received: by mail-ed1-x52a.google.com with SMTP id l5so10395564edq.11 for ; Sun, 06 Dec 2020 01:32:59 -0800 (PST) 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=50/T9sURvLbJsUzp/oobl3PHAd41fRjh0E98/0RNdkM=; b=aLWKFvm0m3qdDhtECH95OZdHmZ3bor41PXzkD8ukOoex0mTcTi0iCc+TbzEiNwLyny sPzQb87z9rP4S9BnHwyP/uDw1KtJfb4AgakVpFSitQGnduxQzMnadr/C1BW5pHjK4sYx 5yj/kZKGENK/T7aJIxWgAn2wZumbHNxiSAI1vbCEE12fEsefrw2A1S/XgYiZjeGstYeL PW8vbeM+Tlz63rTi7BAnSA/3k6KTAL9eXCLOesGZoToAMPeVPTg0fNdRa3v0856XWNEA s0Ein/eXl1N4WFneJ1NVuWCGVYp2Dl0KdUQMxxZimvlRwlSHfYjU6LCqPRUu9QYsVXeF TTMQ== 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=50/T9sURvLbJsUzp/oobl3PHAd41fRjh0E98/0RNdkM=; b=BgdoX9ksXF6MO2w43UNQYQS+nW/FXZ9MXWqJtSsx7JwJqrnvRVolH2ynWf05oe2Odz JMFeDw5R9zTViHMiVnViSt3dFZMP7osHLbtsWu8yxw0lpMVBWNrpvVv7uEOXTmw8aAI2 xqPQFPMTK8DyLyeK2q7O4LsOewDVBzKw8lpU2uvtmSSyueQGn3BJFNawluMQQqkWiNSx 8Ds148ncODoxEiBWwWVUchaK2mFtb5KlPOOIwgxWKhGc3JsaplLYdzeDDfG7vq3sk0Yp akqaZkWn6x0T2cCROPDKsjHVFK6z04hA3RwNZrmOqwbSc6hVEiL/ibZsFU/82S27hAEy Ni/w== X-Gm-Message-State: AOAM532rc58mmRuJKU9yCJL4wOK1WWYPTfSCGzMepty6MoyAqdW6nxkR JpGeRgzSBxOlnI230VS201KEPV1x6DpCMi9nkjvDml1KU0lcGA== X-Google-Smtp-Source: ABdhPJwiDlZ0a248H1qrSMeWwLPn/tWDFqefG5XBjzj1lSdV2thKv5k3XEdlP8RIjV6oyfPdI0eUH1nU2bq8tZSKtxQ= X-Received: by 2002:a05:6402:229b:: with SMTP id cw27mr14986473edb.23.1607247177566; Sun, 06 Dec 2020 01:32:57 -0800 (PST) MIME-Version: 1.0 From: Fatih Aydin Date: Sun, 6 Dec 2020 08:57:43 +0000 Message-ID: Subject: [PATCH] Margin added for overflow visibility problem To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000015cd7d05b5c8656a" Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=fataydin138@gmail.com; helo=mail-ed1-x52a.google.com 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_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.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-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aLWKFvm0; 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-Migadu-Queue-Id: BD769940149 X-Spam-Score: -3.00 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: EVMDiQwosXqA --00000000000015cd7d05b5c8656a Content-Type: text/plain; charset="UTF-8" Write a code block in an org file and publish it to a html file. You will see that only bottom part of the name of the programming language is visible when you hover on it because of the css of that block (overflow:auto) To fix this, a margin-top can be added. --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index d2f24f5c6..1a466fb16 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -300,7 +300,7 @@ property on the headline itself.") padding: 3px; border: 1px solid black; } - pre.src:hover:before { display: inline;} + pre.src:hover:before { display: inline; margin-top: 14px;} /* Languages per Org manual */ pre.src-asymptote:before { content: 'Asymptote'; } pre.src-awk:before { content: 'Awk'; } -- 2.29.2 --00000000000015cd7d05b5c8656a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Write a code block in an org file and publish it to a html file. =
You will see that only bottom part of the name of the programming language =
is visible when you hover on it because of the css of that block (overflow:=
auto)
To fix this, a margin-top can be added.
--- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index d2f24f5c6..1a466fb16 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -300,7 +300,7 @@ property on the headline itself.") padding: 3px; border: 1px solid black; } - pre.src:hover:before { display: inline;} + pre.src:hover:before { display: inline; margin-top: 14px;} /* Languages per Org manual */ pre.src-asymptote:before { content: 'Asymptote'; } pre.src-awk:before { content: 'Awk'; } --=20 2.29.2
--00000000000015cd7d05b5c8656a--