commit fab3736: [Minor] Tune Prism show-invisibles plugin

moisseev moiseev at mezonplus.ru
Fri Jul 17 09:49:10 UTC 2020


Author: moisseev
Date: 2020-07-16 14:08:58 +0300
URL: https://github.com/rspamd/rspamd/commit/fab37369094c37475db5e13ec1f6b6b4ba3c4fe1

[Minor] Tune Prism show-invisibles plugin

---
 interface/css/rspamd.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index 5fefb4b9a..250e98b32 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -561,4 +561,16 @@ textarea#editor {
     resize: unset !important;
     tab-size: 4;
     overflow-y: visible !important;
+    -moz-tab-size: 4;
+}
+
+/* Prism show-invisibles plugin overrides */
+.token.tab:not(:empty)::before {
+    content: "\23af\27F6";
+}
+/* Temporarily remove CR and LF tokens as they overflow line width */
+.token.cr::before,
+.token.crlf::before,
+.token.lf::before {
+    content: "";
 }


More information about the Commits mailing list