From 4216b9ed6ffbe67f127082d97e0a1fa0c47ef37f Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 1 Dec 2023 19:57:39 -0600 Subject: [PATCH] Add vendor-prefixed user-select to code block line numbers --- assets/css/bobastyle.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index baf1360..d958c4c 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -833,6 +833,15 @@ code { display: block; } /* fixes line numbers on firefox when there's only one line */ +.chroma .lnt, +.chroma .ln { + /* chroma sets the non-prefixed one only */ + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} + /* }}} */ /* Asides {{{ */