-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
CSS Attribute not working -webkit-box-orient: vertical; #10723
Comments
Hello! Thanks for opening an issue with us! As this seems like more of a support question about an issue with your custom css i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic! |
It is not a problem with my css, it is that the transpile removes one of my properties, it worked before 2.1!!! |
Hi! please, review this issue, it happens in my app too. I think it's because of the new optimizations of the version 1.1.x of ionic-app-scripts. I have just opened a issue in the app scripts project: ionic-team/ionic-app-scripts#821 Thank you! |
Same here. I checked to make sure all of my CSS sections w/ line clamps also include the -webkit-box-orient property, and they do, but I can see in the Safari and Chrome web inspectors that that property disappears when I run on ionic serve or on an emulator/device. Can this issue be reopened?? |
i have the same issue. |
Same issue here. It simply removes "-webkit-box-orient: vertical;" |
This issue can be resolved by adding following to the scss /* autoprefixer: off / This resolved the issue for me |
@swaraasolutions Thank you, It's work for me, but notice that you missing something on your code, I recently change it to this and it work like a charm. Thanks anyway
|
Many thanks to @swaraasolutions and @tietthinh. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Ionic version: (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Line camp not working, ionic removes attribute from web inspector.
Expected behavior:
It worked before Ionic 2.1
Steps to reproduce:
I have a class with the attribute -webkit-box-orient: vertical; that is related to -webkit-line-clamp, but when I run the app, this attribute disappears so my text is rendering all the lines.
Related code:
Other information:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):The text was updated successfully, but these errors were encountered: