From 1a4fab79ab5091cd9b61663d62dd722f22824fa4 Mon Sep 17 00:00:00 2001 From: Bowen Li Date: Mon, 24 Oct 2016 10:00:17 -0700 Subject: [PATCH] fixes visual bug where empty span shows up --- client/app/styles/main.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/app/styles/main.less b/client/app/styles/main.less index 975a04914..0e9f60773 100644 --- a/client/app/styles/main.less +++ b/client/app/styles/main.less @@ -397,6 +397,7 @@ h2 { } .node-label, .node-sublabel { + span { border-radius: 2px; } @@ -404,6 +405,9 @@ h2 { padding: 0 0.25em; background-color: fade(@background-average-color, 70%); } + span:empty { + padding: 0; + } } .matched-results { background-color: fade(@background-average-color, 70%);