Styling tweak

This commit is contained in:
Pieter Vander Vennet 2022-01-31 18:09:51 +01:00
parent 59ab86c9fb
commit 3b6fa7dc8d
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ export default class ScrollableFullScreen extends UIElement {
Hash.hash.setData(undefined) 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([ return new Combine([
new Combine([ new Combine([
new Combine([returnToTheMap, title]) new Combine([returnToTheMap, title])

View file

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