x)- [x] bug report -> please search issues before submitting
x)- [ ] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Angular CLI: 7.1.3
Node: 10.14.1
OS: win32 x64
Angular:
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.11.3
@angular-devkit/core 7.1.3
@angular-devkit/schematics 7.1.3
@schematics/angular 7.1.3
@schematics/update 0.11.3
rxjs 6.3.3
typescript 3.1.6
Step1: install node_modules for the above provided project.
Step2: run ng serve
Step3: Open the browser devtools and focus the element with class "sample-div", which has display:grid as applied style.
The .sample-div should also contain the prefixed style which is display: -ms-grid like in Angular 6.
This is the indented behaviour in Version 7 see: https://github.com/angular/angular-cli/pull/11453
To enable autoprefixing for grid you need add /* autoprefixer grid: on */.
@alan-agius4 Where should I add /* autoprefixer grid: on */ ? This is unfamiliar territory for me.
You can try to add this comment in your scss / css files. If you put this comment on the top, it will enable grid for all the file. If you set it in a declaration block, grid will only be available inside this block.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
This is the indented behaviour in Version 7 see: https://github.com/angular/angular-cli/pull/11453
To enable autoprefixing for grid you need add
/* autoprefixer grid: on */.