forked from MapComplete/MapComplete
Fix: styling of PH-input in OpeningHoursInput, fix #1422
This commit is contained in:
parent
bcb2ecf6ab
commit
a9c25d378a
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ import BaseUIElement from "../BaseUIElement"
|
||||||
*/
|
*/
|
||||||
export class DropDown<T> extends InputElement<T> {
|
export class DropDown<T> extends InputElement<T> {
|
||||||
private static _nextDropdownId = 0
|
private static _nextDropdownId = 0
|
||||||
public IsSelected: UIEventSource<boolean> = new UIEventSource<boolean>(false)
|
|
||||||
|
|
||||||
private readonly _element: HTMLElement
|
private readonly _element: HTMLElement
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ export default class PublicHolidayInput extends InputElement<string> {
|
||||||
|
|
||||||
this.SetupDataSync(mode, start.GetValue(), end.GetValue())
|
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(
|
private SetupDataSync(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue