forked from MapComplete/MapComplete
More refactoring
This commit is contained in:
parent
231f4f2c97
commit
6890c5189e
12 changed files with 52 additions and 59 deletions
|
@ -25,7 +25,9 @@ export default class BackgroundSelector extends VariableUiElement {
|
|||
if (baseLayers.length <= 1) {
|
||||
return undefined;
|
||||
}
|
||||
return new DropDown(Translations.t.general.backgroundMap.Clone(), baseLayers, State.state.backgroundLayer)
|
||||
return new DropDown(Translations.t.general.backgroundMap.Clone(), baseLayers, State.state.backgroundLayer, {
|
||||
select_class: 'bg-indigo-100 p-1 rounded hover:bg-indigo-200 w-full'
|
||||
})
|
||||
}
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue