diff --git a/web/channel/styles.css b/web/channel/styles.css index 16007dd..ab1770d 100644 --- a/web/channel/styles.css +++ b/web/channel/styles.css @@ -23,7 +23,7 @@ a.btn:hover { background-color: #707070; text-decoration: none; } -#pkginfo ul { +ul.unstyled-list { list-style: none; margin: 0; padding: 0; diff --git a/web/src/main/scala/sc4pac/web/ChannelPage.scala b/web/src/main/scala/sc4pac/web/ChannelPage.scala index 7af361c..2b95a10 100644 --- a/web/src/main/scala/sc4pac/web/ChannelPage.scala +++ b/web/src/main/scala/sc4pac/web/ChannelPage.scala @@ -148,7 +148,7 @@ object ChannelPage { if (pkg.variants.length == 1 && pkg.variants.head.variant.isEmpty) "None" else - H.ul( + H.ul(H.cls := "unstyled-list")( pkg.variants.map { vd => H.li(variantFrag(vd.variant, pkg.variantDescriptions)) } @@ -161,12 +161,12 @@ object ChannelPage { .distinct add("Dependencies", if (deps.isEmpty) "None" - else H.ul(deps.map(dep => H.li(pkgNameFrag(dep)))) + else H.ul(H.cls := "unstyled-list")(deps.map(dep => H.li(pkgNameFrag(dep)))) ) add("Required By", if (pkg.info.requiredBy.isEmpty) "None" - else H.ul(pkg.info.requiredBy.map(dep => H.li(pkgNameFrag(dep)))) + else H.ul(H.cls := "unstyled-list")(pkg.info.requiredBy.map(dep => H.li(pkgNameFrag(dep)))) ) H.div(