ng new creates wrong rgba value in app.component.html #17411
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Description
When creating a new project through
ng new <project-name>
, the following rgba is set in line 123 inapp.component.html
:box-shadow: 0 4px 17px rgba(black, 0.35);
Chrome is not applying the box shadow since it is an invalid property value:
Edge does so as well.
Changing the line to
box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);
resolves the issue, as well as removing the line entirely (leaving the transform animation only).🔬 Minimal Reproduction
ng new angular-app
app.component.html
🌍 Your Environment
The text was updated successfully, but these errors were encountered: