mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
@ -53,6 +53,8 @@ ion-toast {
|
||||
}
|
||||
|
||||
.toast-button {
|
||||
--color: inherit;
|
||||
|
||||
font-size: $toast-button-font-size;
|
||||
}
|
||||
|
||||
|
@ -197,7 +197,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
<div class="toast-message">{this.message}</div>
|
||||
}
|
||||
{this.showCloseButton &&
|
||||
<ion-button fill="clear" color="light" ion-activatable class="toast-button" onClick={() => this.dismiss(undefined, 'cancel')}>
|
||||
<ion-button fill="clear" ion-activatable class="toast-button" onClick={() => this.dismiss(undefined, 'cancel')}>
|
||||
{this.closeButtonText || 'Close'}
|
||||
</ion-button>
|
||||
}
|
||||
|
Reference in New Issue
Block a user