From 8729410dce80f026d53c9f3ba3593b56fbfcf4a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Fri, 3 May 2019 18:38:28 +0200 Subject: [PATCH] Remove spinners in firefox (#3150) --- src/components/ha-date-input.ts | 2 ++ src/components/paper-time-input.js | 1 + 2 files changed, 3 insertions(+) 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 {