Styling tweaks
This commit is contained in:
parent
410e3af6a8
commit
91fe29cfdd
1 changed files with 2 additions and 2 deletions
|
@ -104,10 +104,10 @@ export default class CopyrightPanel extends Combine {
|
||||||
|
|
||||||
super([
|
super([
|
||||||
Translations.t.general.attribution.attributionContent,
|
Translations.t.general.attribution.attributionContent,
|
||||||
|
new FixedUiElement("MapComplete "+Constants.vNumber).SetClass("font-bold"),
|
||||||
maintainer,
|
maintainer,
|
||||||
new Combine(actionButtons).SetClass("block w-full"),
|
new Combine(actionButtons).SetClass("block w-full"),
|
||||||
new FixedUiElement(layoutToUse.credits),
|
new FixedUiElement(layoutToUse.credits),
|
||||||
new Attribution(State.state.locationControl, State.state.osmConnection.userDetails, State.state.layoutToUse, State.state.currentBounds),
|
|
||||||
new VariableUiElement(contributions.map(contributions => {
|
new VariableUiElement(contributions.map(contributions => {
|
||||||
if (contributions === undefined) {
|
if (contributions === undefined) {
|
||||||
return ""
|
return ""
|
||||||
|
@ -146,7 +146,7 @@ export default class CopyrightPanel extends Combine {
|
||||||
...iconAttributions
|
...iconAttributions
|
||||||
].map(e => e?.SetClass("mt-4")));
|
].map(e => e?.SetClass("mt-4")));
|
||||||
this.SetClass("flex flex-col link-underline overflow-hidden")
|
this.SetClass("flex flex-col link-underline overflow-hidden")
|
||||||
this.SetStyle("max-width: calc(100vw - 5em); width: 40rem; margin-left: 0.75rem; margin-right: 0.5rem")
|
this.SetStyle("max-width: calc(100vw - 3em); width: 40rem; margin-left: 0.75rem; margin-right: 0.5rem")
|
||||||
}
|
}
|
||||||
|
|
||||||
private static CodeContributors(): BaseUIElement {
|
private static CodeContributors(): BaseUIElement {
|
||||||
|
|
Loading…
Reference in a new issue