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

[Help]How to make the global text not uppercase/capitalize #1443

Closed
alterhu2020 opened this issue Aug 22, 2017 · 6 comments
Closed

[Help]How to make the global text not uppercase/capitalize #1443

alterhu2020 opened this issue Aug 22, 2017 · 6 comments

Comments

@alterhu2020
Copy link

Steps to reproduce

  1. The component like v-toolbar and v-btn , the default text is uppercase ,how to make all the text not to be uppercase? Is there an option to change this css style globally ?
  2. I don't want to use the { text-transform: capitalize; } in all components one by one.
  3. Is that Material design's default style ? If that ,how to disable it?

Versions

Vuetify 0.14

What is expected ?

The text in component cannot be lowercase.

What is actually happening ?

All the text trim to uppercase character.

Reproduction Link

https://vuetifyjs.com/vuetify/quick-start

@alterhu2020 alterhu2020 changed the title How to make the global text not uppercase/capitalize [Help]How to make the global text not uppercase/capitalize Aug 22, 2017
@johnleider
Copy link
Member

This is part of MD spec and would be up to the developer to define their own global styles removing it.

@xgdgsc
Copy link

xgdgsc commented Dec 6, 2017

How to disable this for tabs for now?

@Imanullah
Copy link

Imanullah commented Dec 27, 2017

Just simple
`

  • {
    text-transform: none !important;
    }
    `

@julkuh
Copy link
Contributor

julkuh commented Dec 27, 2017

After accepting #2858 this would be much easiert. I had check before and found out there are only two places in vuetify stylus files where text-transform is set. It's in _buttons.styl (where it can be set with a variable) and in _tabs.styl where it is just hardcoded.

My PR solves the Problem and you can set text-transform to none if desired simply by setting the variable accordingly.

@johnleider
Copy link
Member

The team has already discussed your PR @julkuh , it's something I plan on merging before 1.0 release.

@Delphn
Copy link

Delphn commented Sep 2, 2018

@Imanullah Adding your style to the main component (App.vue in my case) solved the problem.
<style> *{ text-transform: none !important; } </style>

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Sep 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants