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

fix(vtabs): fix blank space in slider on mobile devices #12445

Closed
wants to merge 1 commit into from

Conversation

bhaskar-nair2
Copy link
Contributor

@bhaskar-nair2 bhaskar-nair2 commented Oct 19, 2020

Added display classes to hide the arrow placeholder which created a blank space on the VTabs slider.

fix #6932

Description

Motivation and Context

How Has This Been Tested?

Visually

Markup:

<template>
  <v-container>
    <!--  -->
    <v-tabs
      color="primary"
      slider-color="primary"
      dark
    >
      <v-tab
        v-for="item in items"
        :key="item"
      >
        {{ item }}
      </v-tab>
    </v-tabs>
  </v-container>
</template>

<script>
  export default {
    data: () => ({
      //
      items: Array.from({ length: 10 }, (v, x) => x),
    }),
  }
</script>

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist:

  • The PR title is no longer than 64 characters.
  • The PR is submitted to the correct branch (master for bug fixes and documentation updates, dev for new features and backwards compatible changes and next for non-backwards compatible changes).
  • My code follows the code style of this project.
  • I've added relevant changes to the documentation (applies to new features and breaking changes in core library)

Added display classes to hide the arrow placeholder which created a blank space on the VTabs slider.

fix vuetifyjs#6932
@bhaskar-nair2 bhaskar-nair2 deleted the fix-tabs-spacing branch October 19, 2020 15:05
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

Successfully merging this pull request may close these issues.

1 participant