Some style tweaks

This commit is contained in:
Pieter Vander Vennet 2022-12-16 17:43:50 +01:00
parent aaa8c1da7c
commit b330b80aeb
4 changed files with 36 additions and 47 deletions

View file

@ -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")