Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Overriding Bootstrap's @breadcrumb-separator

I thought it's possible to replace the @breadcrumb-separator temporarily, but unfortunately it doesn't work that way:

#detailnavigation {
  @breadcrumb-separator: "|";
  .list-inline.related {
    .breadcrumb;
  }
}

Isn't it possible to override a variable in a given scope? Or is the problem that .breadcrumb isn't a mixin?

like image 768
kernel Avatar asked Oct 11 '13 14:10

kernel


1 Answers

FYI I temporarily solved my problem by overriding the Separator manually. There you go:

#detailnavigation {
  .list-inline.related {
    .breadcrumb;
    
    > li+li:before {
      content: "|\00a0"; 
    }
  }
}
like image 53
kernel Avatar answered Sep 30 '22 18:09

kernel