emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 5ee39c3 2/2: ox-html: Add margin to fix ove


From: Bastien Guerry
Subject: [elpa] externals-release/org 5ee39c3 2/2: ox-html: Add margin to fix overflow visibility problem
Date: Wed, 16 Dec 2020 03:06:23 -0500 (EST)

branch: externals-release/org
commit 5ee39c3524bfbd881b6ca1e5eec20a045543e585
Author: Fatih Aydin <fataydin138@gmail.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    ox-html: Add margin to fix overflow visibility problem
    
    * lisp/ox-html.el (org-html-style-default): Add the margin-top
    property to pre.src:hover:before so that the programming language is
    fully visible.
    
    TINYCHANGE
---
 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 d2f24f5..1a466fb 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'; }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]