Get 2024 Templates Mega Bundle!19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets
Get for 99$

Vertical scroll in tabs


https://ibb.co/wL8TR0T

I use scrollable tabs https://preview.keenthemes.com/html/metronic/docs/base/tabs#scrollable-tabs in the card header but it generates a vertical scroll as well although unnecessary. How can I prevent it?

<div class="card-header border-0 pt-6">
<!--begin::Card toolbar-->
<div class="mb-5 hover-scroll-x">
<div class="d-grid">
<ul class="nav nav-tabs nav-line-tabs flex-nowrap text-nowrap">
<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>


</div>
</div>
</div>


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

Please try to below and it should work:


<div class="card">
<div class="card-header border-0 pt-6">
<div class="mb-5 hover-scroll-x">
<div class="d-grid">
<ul class="nav nav-tabs nav-line-tabs flex-nowrap text-nowrap">
<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>

<li class="nav-item">
<a class="nav-link active btn btn-active-light btn-color-gray-600 btn-active-color-primary rounded-bottom-0" href="#">Playground</a>


</div>
</div>
</div>
<div class="card-body">
Card body
</div>
</div>


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(