From c28a7d6c1019051c79c64c0ab0e146c8ecae1cf8 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 13 Jan 2021 17:10:08 +0100 Subject: [PATCH] Center align content of date input (#8134) --- src/components/ha-date-input.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/ha-date-input.ts b/src/components/ha-date-input.ts index 131e7ced25..72b89c417a 100644 --- a/src/components/ha-date-input.ts +++ b/src/components/ha-date-input.ts @@ -12,6 +12,9 @@ documentContainer.innerHTML = ` top: 2px; height: 30px; } + [part="value"] { + text-align: center; + }