forked from MapComplete/MapComplete
Some style tweaks
This commit is contained in:
parent
aaa8c1da7c
commit
b330b80aeb
4 changed files with 36 additions and 47 deletions
|
@ -231,11 +231,12 @@ export default class DefaultGUI {
|
|||
.SetClass("flex items-center justify-center normal-background h-full")
|
||||
.AttachTo("on-small-screen")
|
||||
|
||||
Toggle.If(state.featureSwitchSearch, () =>
|
||||
new Combine([Toggle.If(state.featureSwitchSearch, () =>
|
||||
new SearchAndGo(state).SetClass(
|
||||
"shadow rounded-full h-min w-full overflow-hidden sm:max-w-sm pointer-events-auto"
|
||||
)
|
||||
).AttachTo("top-right")
|
||||
)])
|
||||
.AttachTo("top-right")
|
||||
|
||||
new LeftControls(state, guiState).AttachTo("bottom-left")
|
||||
new RightControls(state).AttachTo("bottom-right")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue