Fix breadcrumb padding on first li

This commit is contained in:
Jeremy Thomas 2017-09-18 22:37:58 +01:00
parent c8703bafb9
commit faa7a8a448
3 changed files with 7 additions and 7 deletions

View File

@ -4950,10 +4950,6 @@ a.tag:hover {
color: #363636; color: #363636;
} }
.breadcrumb a:first-child {
padding-left: 0;
}
.breadcrumb li { .breadcrumb li {
-webkit-box-align: center; -webkit-box-align: center;
-ms-flex-align: center; -ms-flex-align: center;
@ -4963,6 +4959,10 @@ a.tag:hover {
display: flex; display: flex;
} }
.breadcrumb li:first-child a {
padding-left: 0;
}
.breadcrumb li.is-active a { .breadcrumb li.is-active a {
color: #363636; color: #363636;
cursor: default; cursor: default;

File diff suppressed because one or more lines are too long

View File

@ -21,11 +21,11 @@ $breadcrumb-item-separator-color: $text !default
padding: 0.5em 0.75em padding: 0.5em 0.75em
&:hover &:hover
color: $breadcrumb-item-hover-color color: $breadcrumb-item-hover-color
&:first-child
padding-left: 0
li li
align-items: center align-items: center
display: flex display: flex
&:first-child a
padding-left: 0
&.is-active &.is-active
a a
color: $breadcrumb-item-active-color color: $breadcrumb-item-active-color