Skip to content

Commit

Permalink
Fix breadcrumbs' layout in Firefox
Browse files Browse the repository at this point in the history
The negative margin added to the breadcrumb links to improve the
clickable area introduced a bug in firefox, where the link text wraps to
a new line.

By adding `display: inline-block` we make sure the link doesn't wrap to
a new line like in other browsers.
  • Loading branch information
carvil committed Mar 7, 2017
1 parent f87e766 commit f543591
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
padding: $padding;
margin: -1 * $padding;
outline-color: transparent;
display: inline-block;
}
}

0 comments on commit f543591

Please sign in to comment.