From 38e5f57eab089fb362d32467bad868de74be0a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Fri, 4 Nov 2022 00:30:21 +0100 Subject: [PATCH] Use node collapse markers with better font compatibility. These are temporal. This way of working moves the titles around when they get collapsed/expanded, so I should probably change it at some point. --- static/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 6c43e2d..f2ee9b8 100644 --- a/static/style.css +++ b/static/style.css @@ -139,11 +139,14 @@ body nav input { } .node .node.collapsed > .title::before { - content: "🮥"; + content: "›"; + vertical-align: text-bottom; } .node .node.expanded > .title::before { - content: "🮦"; + content: "›"; + transform: rotate(90deg); + display: inline-block; } .node .title {