Skip to content

Commit

Permalink
Add max-width to breadcrumb component
Browse files Browse the repository at this point in the history
  • Loading branch information
cetinajero committed May 16, 2018
1 parent c316d28 commit 021829a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% endif %}
{% endif %}

<nav aria-label="breadcrumb">
<nav class="breadcrumb-component" aria-label="breadcrumb">
<ol id="breadcrumb" class="breadcrumb">
{% for level in (-1..page.categories.size) %}
{% if forloop.first %}
Expand Down
23 changes: 14 additions & 9 deletions _sass/components/breadcrumbs/_bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
nav ol.breadcrumb{
background: #fff;
font-size: 1.1em;
margin-left: 20px;
margin-top: 3px;
padding-top: 20px;
nav.breadcrumb-component {
max-width: 1300px;
margin: auto;

li{
a{
color: $font-color-menu;
ol.breadcrumb {
background: #fff;
font-size: 1.1em;
margin-left: 20px;
margin-top: 3px;
padding-top: 20px;

li{
a{
color: $font-color-menu;
}
}
}
}

0 comments on commit 021829a

Please sign in to comment.