Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

v1.1.X removes -webkit-box-orient from the css #821

Closed
albert-gonzalez opened this issue Mar 17, 2017 · 9 comments
Closed

v1.1.X removes -webkit-box-orient from the css #821

albert-gonzalez opened this issue Mar 17, 2017 · 9 comments

Comments

@albert-gonzalez
Copy link

Hi!

Short description of the problem:

If you use the CSS property -webkit-box-orient, it is removed in the build. It worked well in v1.0.x

What behavior are you expecting?

The build should have this property.

.three_lines {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

Which @ionic/app-scripts version are you using?
v1.1.4

The same issue was rejected in ionic repository: ionic-team/ionic-framework#10723

Thank you very much!

@aspidvip
Copy link

Yes? i'm not work to scss

  .pod_c {
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   vertical-align: middle;
   font-size: 0.7em;
  }

@ceeliro
Copy link

ceeliro commented Mar 27, 2017

Same here. And can't find another solution to have same behaviour other than wrapping text previously to be shown what i am not confortable with

@awebdeveloper
Copy link
Contributor

another duplicate #869

@vhinic
Copy link

vhinic commented Apr 17, 2017

+1 one for this - it simply removes "-webkit-box-orient: vertical;" from css

@vhinic
Copy link

vhinic commented Apr 17, 2017

I was able to properly fix this by specifying my own .scss.config.js:

module.exports = {
  autoprefixer: {
    remove: false
  },
};

And pointing to it in package.json:

  "config": {
    "ionic_sass": ".sass.config.js"
  },

See this and this for more details

@aspidvip
Copy link

thansk )))

@aspidvip
Copy link

close team please

@albert-gonzalez
Copy link
Author

Nice workaround @aspidvip ! Thanks!

@jerryyan1990
Copy link

jerryyan1990 commented Jun 16, 2017

@vhinic thanks for u ,solve my problem 👍 🙏

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