Commit 1ac84a8
authored
fix(module:upload): remove inline style to resolve CSP issue (#8064)
This commit addresses the CSP issue by removing the inline `style` property from the
`input` element within the `nz-upload` component. The use of inline style attributes necessitates
the inclusion of `unsafe-inline`.1 parent f1a4050 commit 1ac84a8
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | | - | |
| 14 | + | |
10 | 15 | | |
11 | 16 | | |
0 commit comments