Pretty up the breadcrumbs since you can see them now

This commit is contained in:
Danielle McLean 2017-10-06 14:31:34 +11:00
parent 1c4212f5d0
commit 526e105b8b
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
2 changed files with 6 additions and 1 deletions

View file

@ -15,3 +15,8 @@ body
padding-bottom: 1em padding-bottom: 1em
display: flex display: flex
justify-content: space-evenly justify-content: space-evenly
.breadcrumb
background-color: #404449
border-radius: 0
.breadcrumb-item.active
color: #fff

View file

@ -16,7 +16,7 @@
<li .nav-item :Just route == mcurrentRoute:.active> <li .nav-item :Just route == mcurrentRoute:.active>
<a .nav-link href=@{route}>#{label} <a .nav-link href=@{route}>#{label}
$if not $ null parents $if not $ null parents
<ul .breadcrumb.rounded-0> <ul .breadcrumb>
$forall bc <- parents $forall bc <- parents
<li .breadcrumb-item> <li .breadcrumb-item>
<a href=@{fst bc}>#{snd bc} <a href=@{fst bc}>#{snd bc}