Skip to content

Commit

Permalink
fix(module:drawer): remove inline style to resolve CSP issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arturovt committed Mar 14, 2024
1 parent 3dc1579 commit cdac11b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/drawer/drawer.component.ts
Expand Up @@ -92,12 +92,7 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'drawer';
<div class="ant-drawer-header" [class.ant-drawer-header-close-only]="!nzTitle">
<div class="ant-drawer-header-title">
@if (nzClosable) {
<button
(click)="closeClick()"
aria-label="Close"
class="ant-drawer-close"
style="--scroll-bar: 0px;"
>
<button (click)="closeClick()" aria-label="Close" class="ant-drawer-close">
<ng-container *nzStringTemplateOutlet="nzCloseIcon; let closeIcon">
<span nz-icon [nzType]="closeIcon"></span>
</ng-container>
Expand Down

0 comments on commit cdac11b

Please sign in to comment.