From a86877593fc9651e41b68d374f3605d3465aeecb Mon Sep 17 00:00:00 2001 From: Jelle Schutter Date: Fri, 23 Apr 2021 10:54:02 +0200 Subject: [PATCH] make line nr unselectable --- .../nbconvert/templates/pale-sand-navy/static/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/jupyter/nbconvert/templates/pale-sand-navy/static/index.css b/share/jupyter/nbconvert/templates/pale-sand-navy/static/index.css index 87c4bae..2fb07d6 100644 --- a/share/jupyter/nbconvert/templates/pale-sand-navy/static/index.css +++ b/share/jupyter/nbconvert/templates/pale-sand-navy/static/index.css @@ -54,6 +54,7 @@ h1, h2 { vertical-align: top; text-align: right; padding-right: 10px; + user-select: none; } .code-cell .code-line { @@ -120,4 +121,4 @@ h1, h2 { width: calc(100% - 20px); margin: 20px 10px 0 10px; } -} \ No newline at end of file +}