Pretty up the breadcrumbs since you can see them now
This commit is contained in:
parent
1c4212f5d0
commit
526e105b8b
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue