Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(tabs): adding bootstrap 4 specific class #5488

Closed
wants to merge 1 commit into from

Conversation

uxtx
Copy link
Contributor

@uxtx uxtx commented Feb 16, 2016

adding nav-link class to tab items to future-proof for bootstrap 4: docs here:
http://v4-alpha.getbootstrap.com/components/navs/#tabs

As far as I have looked, this class should not interfere or collide with any existing bootstrap 3 classes, and makes tabs usable for bootstrap 4.

@@ -56,6 +56,10 @@ describe('tabs', function() {
it('should pass class and other attributes on to tab template', function() {
expect(elm).toHaveClass('hello');
expect(elm.attr('data-pizza')).toBe('pepperoni');
// ensure that we have our bootstrap 4 link prefix so things are future
// proofed.
var link = $(elm.find('a')[0]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra space

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, On it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants