Various styling tweaks, fix #243

This commit is contained in:
Pieter Vander Vennet 2021-04-12 13:05:30 +02:00
parent 7d36d151e3
commit f177a3bad3
9 changed files with 50 additions and 10 deletions

View file

@ -28,11 +28,11 @@ export default class AttributionPanel extends Combine {
"<br/>",
new Attribution(undefined, undefined, State.state.layoutToUse, undefined),
"<br/>",
Translations.t.general.attribution.iconAttribution.title.Clone().SetClass("font-bold pt-12 pb-3"),
"<h3>",Translations.t.general.attribution.iconAttribution.title.Clone().SetClass("pt-6 pb-3"),"</h3>",
...Utils.NoNull(Array.from(layoutToUse.data.ExtractImages()))
.map(AttributionPanel.IconAttribution)
]);
this.SetClass("flex flex-col")
this.SetClass("flex flex-col link-underline")
}
private static IconAttribution(iconPath: string) {

View file

@ -47,7 +47,7 @@ export default class FullWelcomePaneWithTabs extends UIElement {
{header: `<img src='${layoutToUse.icon}'>`, content: welcome},
{
header: Svg.osm_logo_img,
content: Translations.t.general.openStreetMapIntro as UIElement
content: Translations.t.general.openStreetMapIntro.Clone().SetClass("link-underline") as UIElement
},
]
@ -71,7 +71,7 @@ export default class FullWelcomePaneWithTabs extends UIElement {
if (userdetails.csCount < Constants.userJourney.mapCompleteHelpUnlock) {
return ""
}
return new Combine([Translations.t.general.aboutMapcomplete, "<br/>Version " + Constants.vNumber]).Render();
return new Combine([Translations.t.general.aboutMapcomplete, "<br/>Version " + Constants.vNumber]).SetClass("link-underline").Render();
}, [Locale.language]))
}
);

View file

@ -31,7 +31,7 @@ export default class ShareScreen extends UIElement {
const optionCheckboxes: UIElement[] = []
const optionParts: (UIEventSource<string>)[] = [];
this.SetClass("link-underline")
function check() {
return Svg.checkmark_svg().SetStyle("width: 1.5em; display:inline-block;");
}

View file

@ -41,6 +41,7 @@ export default class ThemeIntroductionPanel extends UIElement {
}
)
)
this.SetClass("link-underline")
}
InnerRender(): string {