seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 999 forks source link

Breadcrumb without dividers #882

Open anatoly-cmdx opened 8 years ago

anatoly-cmdx commented 8 years ago

When using this gem you'll actually get two dividers:

One is inserted by this gem as <span class="divider ">/</span> And another one is defined by bootstrap for breadcrumb class:

.breadcrumb > li + li::before {
    ...
    content: "/ ";
    ...
}

A simple workaround is <%= render_breadcrumbs('') %> that just generates empty dividers <span class="divider "></span>

But I think there should be a way to render breadcrumbs without dividers at all.