Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to justify the tabs, like in the example #57

Open
181 opened this issue Feb 5, 2019 · 1 comment
Open

How to justify the tabs, like in the example #57

181 opened this issue Feb 5, 2019 · 1 comment

Comments

@181
Copy link

181 commented Feb 5, 2019

Like in this example, https://jsfiddle.net/b44cc4dq/56/
there is a nav-justified class,


    is there a way to add this without hacking in the package css part, as the ul part is produced by the package.
    tried with centered property, but all the tabs will be stacked together, I am using vue-tabs with bootstrap 4.
    Update: found the below width rule controls on this
    @media (min-width: 768px)

    <style>…</style>

    .vue-tabs .nav-justified > li, .vue-tabs .nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
    }
    anyway to override this? So far tried to override inside vue single page component <style> part, no luck.
    Cheers.

@Exalyn
Copy link

Exalyn commented Apr 6, 2020

I know it's late, but if someone still has this issue, please note that is probably Bootstrap who mess with nav class.
Try to create a class on your vue-tabs, and then :
.my-class .nav {
display: block;
}

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

No branches or pull requests

2 participants