aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-07-16 14:08:58 +0300
committermoisseev <moiseev@mezonplus.ru>2020-07-16 14:08:58 +0300
commitfab37369094c37475db5e13ec1f6b6b4ba3c4fe1 (patch)
treecb96ba1f7fb25a66c94f50ee2cadf3fa45aa8efd /interface
parent46479b4d2c0488926bce09efc1b3d215bf090608 (diff)
downloadrspamd-fab37369094c37475db5e13ec1f6b6b4ba3c4fe1.tar.gz
rspamd-fab37369094c37475db5e13ec1f6b6b4ba3c4fe1.zip
[Minor] Tune Prism show-invisibles plugin
Diffstat (limited to 'interface')
-rw-r--r--interface/css/rspamd.css12
1 files changed, 12 insertions, 0 deletions
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: "";
}