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;
|
background: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.datetime-text {
|
.datetime-text {
|
||||||
|
@ -627,6 +627,7 @@ export class Datetime {
|
|||||||
aria-disabled={this.disabled ? 'true' : false}
|
aria-disabled={this.disabled ? 'true' : false}
|
||||||
onClick={this.open.bind(this)}
|
onClick={this.open.bind(this)}
|
||||||
class='datetime-cover'>
|
class='datetime-cover'>
|
||||||
|
{this.mode === 'md' ? <ion-ripple-effect /> : null}
|
||||||
</button>
|
</button>
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user