From a9c25d378a709e3ac7b4a76919ae10cf405dacec Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 7 Jun 2023 17:45:08 +0200 Subject: [PATCH] Fix: styling of PH-input in OpeningHoursInput, fix #1422 --- UI/Input/DropDown.ts | 1 - UI/OpeningHours/PublicHolidayInput.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/Input/DropDown.ts b/UI/Input/DropDown.ts index 96ac90d214..f035da10de 100644 --- a/UI/Input/DropDown.ts +++ b/UI/Input/DropDown.ts @@ -8,7 +8,6 @@ import BaseUIElement from "../BaseUIElement" */ export class DropDown extends InputElement { private static _nextDropdownId = 0 - public IsSelected: UIEventSource = new UIEventSource(false) private readonly _element: HTMLElement diff --git a/UI/OpeningHours/PublicHolidayInput.ts b/UI/OpeningHours/PublicHolidayInput.ts index 974bb01a3f..71de05c96c 100644 --- a/UI/OpeningHours/PublicHolidayInput.ts +++ b/UI/OpeningHours/PublicHolidayInput.ts @@ -59,7 +59,7 @@ export default class PublicHolidayInput extends InputElement { this.SetupDataSync(mode, start.GetValue(), end.GetValue()) - return new Combine([dropdown, askHours]).ConstructElement() + return new Combine([dropdown, askHours]).SetClass("w-full flex").ConstructElement() } private SetupDataSync(