question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] [VTabsSlider] Add prop to override default tabs-slider-height

See original GitHub issue

Problem to solve

The ability to adjust VTabsSlider height/thickness

Proposed solution

Add prop to VTabsSlider that would override tabs-slider-height.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Lindar90commented, Apr 6, 2021

I was able to adjust slider’s height via slider-size prop:

<VTabs slider-size="4">
    <VTab>My Models</VTab>
    <VTab>Pending *</VTab>
</VTabs>

Looks like the issue could be closed.

2reactions
MatthewArycommented, Jul 25, 2019

So I’ve taken steps to change the variable as suggested. See below.

// src/sass/main.scss
@import '~vuetify/src/styles/styles.sass';

$tabs-slider-height: 3px;

Yet, doing this does not adjust the tab slider height.

<div class="v-tabs-slider-wrapper" style="height: 2px; left: 885px; width: 214px;">
   <div data-v-0e4e1fa4="" class="v-tabs-slider primary"></div>
</div>

Because the v-tabs-slider-wrapper div has a style applied to it directly, it ends up clipping the slider height.

Read more comments on GitHub >

github_iconTop Results From Across the Web

v-tabs API - Vuetify
name type default #active‑class string undefined #align‑with‑title boolean false #background‑color string undefined
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found