Tailwind .justify-between instead of inline style

This commit is contained in:
Tobias Jordans 2021-09-22 19:53:47 +02:00
parent 80dd69a301
commit 6ceb589f00

View file

@ -37,7 +37,7 @@ export default class OpeningHoursRange extends BaseUIElement {
let content: BaseUIElement;
if (height > 2) {
content = new Combine([startTime, deleteRange, endTime]).SetClass("flex flex-col h-full").SetStyle("justify-content: space-between;");
content = new Combine([startTime, deleteRange, endTime]).SetClass("flex flex-col h-full justify-between");
} else {
content = new Combine([deleteRange]).SetClass("flex flex-col h-full").SetStyle("flex-content: center; overflow-x: unset;")
}
@ -61,4 +61,4 @@ export default class OpeningHoursRange extends BaseUIElement {
}
}
}