Use math to compute badge padding in nojs

More clearly indicates how those numbers get there, and fixes
a discrepancy of 0.02em.

Change-Id: Idbc33878953fda85185cada5550f99a1076b9036
This commit is contained in:
Roan Kattouw 2015-09-14 18:47:29 +02:00
parent b046a1062d
commit 0c5869c216

View file

@ -8,7 +8,7 @@
.mixin-notifications-badge();
display: inline-block;
padding: @badge-padding 0.35em @badge-padding 1.45em;
padding: @badge-padding (@badge-padding + 0.25em) @badge-padding (@badge-padding + 0.25em + 1.1em);
body.ltr & {
background-position: @badge-padding center;