Skip to content

Commit

Permalink
fix(tabs): Make sure tabs do not wrap to next line (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Oct 25, 2017
1 parent f33a808 commit d6927b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/breadcrumb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Setting this to `display: none` will remove the associated slash.

```scss
/* Removes the slash from the last breadcrumb-item */

.bx--breadcrumb-item:last-child::after {
display: none;
}
Expand All @@ -18,7 +17,6 @@ Or you can add `.bx--breadcrumb--no-trailing-slash` to `.bx--breadcrumb` to remo

```html
/* Removes the slash from the last breadcrumb-item */

<div class="bx--breadcrumb bx--breadcrumb--no-trailing-slash">
<div class="bx--breadcrumb-item">
<a href="#" class="bx--link">Breadcrumb 1</a>
Expand All @@ -30,5 +28,4 @@ Or you can add `.bx--breadcrumb--no-trailing-slash` to `.bx--breadcrumb` to remo
<span>Breadcrumb 3</span>
</div>
</div>

```
2 changes: 2 additions & 0 deletions src/components/tabs/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@
text-decoration: none;
padding: 1rem;
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;

&:focus {
outline: 1px solid transparent;
Expand Down

0 comments on commit d6927b8

Please sign in to comment.