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

Horizontal tabs #35

Open
ultrasamad opened this issue Jan 22, 2018 · 5 comments
Open

Horizontal tabs #35

ultrasamad opened this issue Jan 22, 2018 · 5 comments

Comments

@ultrasamad
Copy link

ultrasamad commented Jan 22, 2018

Cool component. But if I want the tabs to lie horizontal instead of the default vertical in the JSFidle demo, how will I achieve that.

Thanks.

@cristijora
Copy link
Owner

Hi @ultrasamad By default they are actually horizontal.
There is a vertical option as well
https://jsfiddle.net/b44cc4dq/190/

@ultrasamad
Copy link
Author

Oh cool. I wish the tabs could be scrollable, such that with the horizontal tabs there will be a limited number of tabs based on the browser width and a scrollable feature to click through to scroll and with the vertical as well.

Thanks.

@kydner
Copy link

kydner commented Feb 12, 2020

I try to change direction tab to vertical https://jsfiddle.net/b44cc4dq/190/, but the tab keep to horizontal, only content changes to vertical, how fix it??

@amchconsult
Copy link

I wish the tabs could be scrollable also.
Can you do it?
Please, thank you

@amchconsult
Copy link

THIS WILL ADD SCROLL

.vue-tabs .nav {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
  list-style: none;
  /* SCROLL ADDED  */
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  max-height: 50px;
  flex-wrap: nowrap;

}

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

4 participants