summaryrefslogtreecommitdiff
path: root/js/view
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-01-29 20:29:04 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-01-30 07:27:13 -0500
commit5e82f76c4305d8170f6b49e6d206084e1e45623a (patch)
treed546043d6f00f8dbdd263f8fa29c765bfb43c999 /js/view
parent83230afa51fd1ec6a1e224baeac59bd4be4eb0d4 (diff)
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.
Diffstat (limited to 'js/view')
-rw-r--r--js/view/generations.js2
-rw-r--r--js/view/packages.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/view/generations.js b/js/view/generations.js
index 912a1ab..0ff52f1 100644
--- a/js/view/generations.js
+++ b/js/view/generations.js
@@ -18,7 +18,7 @@
(function(generations) {
generations.view = function(ctrl) {
return guix.withLayout([
- m("h2", [
+ m("h2.header", [
"Generations",
m("span.badge", ctrl.generations().length)
]),
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())
]),