From 5e82f76c4305d8170f6b49e6d206084e1e45623a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 29 Jan 2015 20:29:04 -0500 Subject: css: Improve appearance of counter badges next to headers. * css/guix.css (.header .badge): New style. * js/view/generations.js (guix.generations.view): Add 'header' class to h2 element. * js/view/packages.js (guix.packages.view): Likewise. --- js/view/packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/view/packages.js') diff --git a/js/view/packages.js b/js/view/packages.js index 7c55486..2abcf11 100644 --- a/js/view/packages.js +++ b/js/view/packages.js @@ -238,7 +238,7 @@ } return guix.withLayout(ctrl.pager().isEmpty() ? spinner : [ - m("h2", [ + m("h2.header", [ "Packages", m("span.badge", ctrl.packageCount()) ]), -- cgit v1.2.3