diff --git a/src/components/ha-date-input.ts b/src/components/ha-date-input.ts index 4157d70af9..6f42cd8159 100644 --- a/src/components/ha-date-input.ts +++ b/src/components/ha-date-input.ts @@ -31,7 +31,9 @@ export class HaDateInput extends LitElement { paper-input { width: 30px; text-align: center; + --paper-input-container-shared-input-style_-_-webkit-appearance: textfield; --paper-input-container-input_-_-moz-appearance: textfield; + --paper-input-container-shared-input-style_-_appearance: textfield; --paper-input-container-input-webkit-spinner_-_-webkit-appearance: none; --paper-input-container-input-webkit-spinner_-_margin: 0; --paper-input-container-input-webkit-spinner_-_display: none; diff --git a/src/components/paper-time-input.js b/src/components/paper-time-input.js index 3fec74281a..2a2d5bb52b 100644 --- a/src/components/paper-time-input.js +++ b/src/components/paper-time-input.js @@ -48,6 +48,7 @@ export class PaperTimeInput extends PolymerElement { margin: 0; display: none; } + --paper-input-container-shared-input-style_-_-webkit-appearance: textfield; } paper-dropdown-menu {