Skip to content

Commit

Permalink
fix(modal): replace cross icon name by times & adjust icon font size
Browse files Browse the repository at this point in the history
Signed-off-by: Stagnol <[email protected]>
  • Loading branch information
astagnol authored and dpellier committed Jul 29, 2024
1 parent 0ab68bf commit 317af3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class OdsModal {
this.isDismissible &&
<button class={ `ods-modal__dialog__header__close ods-modal__dialog__header__close--${this.color}` }
onClick={ () => this.close() }>
<ods-icon name={ ODS_ICON_NAME.cross }>
<ods-icon name={ ODS_ICON_NAME.times }>
</ods-icon>
</button>
}
Expand Down
4 changes: 2 additions & 2 deletions packages/ods/src/style/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $ods-modal-border-radius: var(--ods-border-radius-sm);
padding: 0;
width: 24px;
height: 24px;
font-size: 1rem;
font-size: 0.75rem;
}

@mixin ods-modal-close-button-color($color) {
Expand Down Expand Up @@ -153,4 +153,4 @@ $ods-modal-border-radius: var(--ods-border-radius-sm);
gap: 1rem;
justify-content: flex-end;
width: 100%;
}
}

0 comments on commit 317af3d

Please sign in to comment.