forked from MapComplete/MapComplete
Styling tweak
This commit is contained in:
parent
59ab86c9fb
commit
3b6fa7dc8d
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ export default class ScrollableFullScreen extends UIElement {
|
|||
Hash.hash.setData(undefined)
|
||||
})
|
||||
|
||||
title.SetClass("block text-l sm:text-xl md:text-2xl w-full font-bold p-0 max-h-20vh overflow-y-auto")
|
||||
title.SetClass("block text-l sm:text-xl md:text-2xl w-full font-bold p-0 max-h-20vh overflow-y-auto self-center")
|
||||
return new Combine([
|
||||
new Combine([
|
||||
new Combine([returnToTheMap, title])
|
||||
|
|
|
@ -89,7 +89,7 @@ export default class LeftControls extends Combine {
|
|||
|
||||
const toggledFilter = new Toggle(
|
||||
new ScrollableFullScreen(
|
||||
() => Translations.t.general.layerSelection.title.Clone().SetClass("self-center"),
|
||||
() => Translations.t.general.layerSelection.title.Clone(),
|
||||
() =>
|
||||
new FilterView(state.filteredLayers, state.overlayToggles).SetClass(
|
||||
"block p-1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue