forked from MapComplete/MapComplete
Tailwind .justify-between instead of inline style
This commit is contained in:
parent
80dd69a301
commit
6ceb589f00
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ export default class OpeningHoursRange extends BaseUIElement {
|
||||||
|
|
||||||
let content: BaseUIElement;
|
let content: BaseUIElement;
|
||||||
if (height > 2) {
|
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 {
|
} else {
|
||||||
content = new Combine([deleteRange]).SetClass("flex flex-col h-full").SetStyle("flex-content: center; overflow-x: unset;")
|
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 {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue