forked from MapComplete/MapComplete
Various styling and language tweaks
This commit is contained in:
parent
847c0911f9
commit
3d2b55f9f1
14 changed files with 30 additions and 29 deletions
|
@ -56,10 +56,8 @@ export default class FullWelcomePaneWithTabs extends ScrollableFullScreen {
|
|||
isShown: UIEventSource<boolean>):
|
||||
{ header: string | BaseUIElement; content: BaseUIElement }[] {
|
||||
|
||||
let welcome: BaseUIElement = new ThemeIntroductionPanel(isShown);
|
||||
|
||||
const tabs: { header: string | BaseUIElement, content: BaseUIElement }[] = [
|
||||
{header: `<img src='${state.layoutToUse.icon}'>`, content: welcome},
|
||||
{header: `<img src='${state.layoutToUse.icon}'>`, content: new ThemeIntroductionPanel(isShown)},
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ export default class LeftControls extends Combine {
|
|||
return new FeatureInfoBox(tagsSource, currentViewFL.layerDef, state, "currentview", guiState.currentViewControlIsOpened)
|
||||
.SetClass("md:floating-element-width")
|
||||
})
|
||||
}))
|
||||
})).SetStyle("width: 40rem").SetClass("block")
|
||||
|
||||
|
||||
return new Toggle(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue