mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(datetime): remove outline for focus and add ripple
This commit is contained in:
@ -22,6 +22,11 @@ ion-datetime {
|
||||
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
|
||||
&:active,
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.datetime-text {
|
||||
|
@ -627,6 +627,7 @@ export class Datetime {
|
||||
aria-disabled={this.disabled ? 'true' : false}
|
||||
onClick={this.open.bind(this)}
|
||||
class='datetime-cover'>
|
||||
{this.mode === 'md' ? <ion-ripple-effect /> : null}
|
||||
</button>
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user