Skip to content

Commit

Permalink
Merge pull request silverstripe#477 from open-sausages/pulls/1/fix-ta…
Browse files Browse the repository at this point in the history
…bs-nav

BUG Don't add redundant href="#" to tabs
  • Loading branch information
dhensby committed Apr 16, 2018
2 parents f68fcf2 + 79e4f9c commit 7464366
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 14 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/src/components/Tabs/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class Tabs extends Component {
onClick={() => (this.toggle(child.props.name))}
disabled={child.props.disabled}
className={classNames}
href="#"
>
{child.props.title}
</NavLink>
Expand Down
1 change: 1 addition & 0 deletions client/src/components/Tabs/Tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
color: $text-muted;
padding: $nav-link-padding;
border-bottom-width: $nav-tabs-link-border-width;
cursor: pointer;

&:hover,
&:focus {
Expand Down
Loading

0 comments on commit 7464366

Please sign in to comment.