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

Upper case everywhere :( #18

Closed
hipertracker opened this issue May 28, 2015 · 3 comments
Closed

Upper case everywhere :( #18

hipertracker opened this issue May 28, 2015 · 3 comments
Assignees
Labels

Comments

@hipertracker
Copy link

Why almost all elements are affected by text-transform: uppercase? That's annoying that I can't even use <Text><Hello World!</Text> for displaying text as it is. To overcome that behaviour I have to wrap every text ...<span style={{textTransform: 'none'}}>Hello World!</span>... Is there any simple way to disable that behaviour by default?

@hetmann
Copy link
Contributor

hetmann commented May 29, 2015

Hi @hipertracker

Can you check your CSS or LESS styles for any inherit text-transform props?!
For example if you check the Text component https://github.com/PearlVentures/Essence/blob/master/src/js/components/Text.js
by default it will return a <span> with no className.

Let us know what you find.

@hipertracker
Copy link
Author

I think, there are two bugs over here. (1) AppBar enforce uppercase style on all it's children. (2) Text cannot override that with inline style. See:

 <AppBar>
    <span>Hello World is upper cased :(</span>
    <Text style={{textTransform:'none'}}>Still Upper Case :(</Text>
    <Text><span style={{textTransform:'none'}}>This Works correct!</span></Text>
</AppBar>

@raulmatei raulmatei added the bug label Jun 11, 2015
@raulmatei raulmatei assigned raulmatei and chinciusan and unassigned raulmatei Jun 11, 2015
@raulmatei raulmatei mentioned this issue Nov 24, 2015
37 tasks
@hetmann hetmann closed this as completed Nov 26, 2015
@hetmann
Copy link
Contributor

hetmann commented Nov 27, 2015

AppBar: there was a text-transform: uppercase on all span tags, so I remove that from appbar.less

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants