Fixed opening of popups

This commit is contained in:
Pieter Vander Vennet 2021-02-14 20:36:20 +01:00
parent bc1863dcb6
commit 770c8d1dde
4 changed files with 25 additions and 24 deletions

View file

@ -12,7 +12,7 @@ export default class Attribution extends Combine {
Translations.W((license ?? "") === "undefined" ? "CC0" : (license ?? ""))
]).SetClass("flex flex-col")
]);
this.SetClass("flex flex-row bg-black text-white text-sm absolute bottom-0 left-0 p-0.5 rounded");
this.SetClass("flex flex-row bg-black text-white text-sm absolute bottom-0 left-0 p-0.5 pl-5 pr-3 rounded-lg");
}
}

View file

@ -54,7 +54,6 @@ export class MapillaryImage extends UIElement {
return new Combine([
image,
new Attribution(meta.artist, meta.license, Svg.mapillary_svg())
]).SetClass("relative block").Render();
}