base/src/sqwl/cms/layout/ArticlesInCategory.scala
changeset 19 83fb90bdd15b
parent 12 e7512f9dc903
--- a/base/src/sqwl/cms/layout/ArticlesInCategory.scala	Thu Dec 13 14:21:10 2018 +0100
+++ b/base/src/sqwl/cms/layout/ArticlesInCategory.scala	Thu Dec 13 15:15:13 2018 +0100
@@ -10,8 +10,9 @@
       case ViewCategory(c) =>
         val l = cnt.articlesByCategory(c)
         Some(tags2.section(
-          ul(l.map(art =>
-            li(a(href:=s"/${http.prefix}/${art.pathSegment}", art.title))
+          div(cls:="list-group", l.map(art =>
+            a(href:=s"/${http.prefix}/${art.pathSegment}",
+              cls:="list-group-item", art.title)
           )),
           if (l.isEmpty) "V této kategorii není ještě článek." else ""
       ))