From 98239ee764fe87caa0cc4a5b2b9d4200ea39f078 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 31 May 2019 12:00:38 +0000 Subject: [PATCH] Elastic: Fix position of counter badge on calendars list --- plugins/libkolab/skins/elastic/libkolab.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/libkolab/skins/elastic/libkolab.less b/plugins/libkolab/skins/elastic/libkolab.less index d6bb6859..bc30161d 100644 --- a/plugins/libkolab/skins/elastic/libkolab.less +++ b/plugins/libkolab/skins/elastic/libkolab.less @@ -207,7 +207,7 @@ right: 0; min-width: 2em; line-height: 1.4rem; - margin: (@listing-line-height - 1.4rem)/2; + margin: (@listing-line-height - 1.4 * @page-font-size)/2; padding: 0 .3em; border-radius: .4em; background: @color-list-secondary; @@ -217,7 +217,7 @@ html.touch & { line-height: 2rem; - margin: (@listing-touch-line-height - 2rem)/2; + margin: (@listing-touch-line-height - 2 * @page-font-size)/2; } } }