Natuurpunt tweaks

This commit is contained in:
Pieter Vander Vennet 2022-01-31 14:34:06 +01:00
parent 618f61d3e8
commit 5a9f26081c
55 changed files with 1516 additions and 1368 deletions

View file

@ -166,7 +166,7 @@ export default class FilterView extends VariableUiElement {
}
return new Combine(toShow)
.SetClass("flex flex-col ml-8 bg-gray-300 rounded-xl p-2")
.SetClass("flex flex-col p-2 ml-0 pl-12 bg-gray-200 pt-0 border-b-2 border-detail mb-4")
}
@ -291,6 +291,8 @@ export default class FilterView extends VariableUiElement {
return FilterView.createCheckboxFilter(filterConfig)
}
return FilterView.createMultiFilter(filterConfig)
const filter = FilterView.createMultiFilter(filterConfig)
filter[0].SetClass("pl-2")
return filter
}
}

View file

@ -89,7 +89,7 @@ export default class LeftControls extends Combine {
const toggledFilter = new Toggle(
new ScrollableFullScreen(
() => Translations.t.general.layerSelection.title.Clone(),
() => Translations.t.general.layerSelection.title.Clone().SetClass("self-center"),
() =>
new FilterView(state.filteredLayers, state.overlayToggles).SetClass(
"block p-1"