forked from MapComplete/MapComplete
Stabilizing popups part 2: loading new data doesn't close the popup anymore + fix slideshow
This commit is contained in:
parent
b9d5a85cd0
commit
d4f107c81a
7 changed files with 48 additions and 30 deletions
|
@ -21,8 +21,8 @@ export class ImageCarousel extends UIElement{
|
|||
if(url.key !== undefined){
|
||||
image = new Combine([
|
||||
image,
|
||||
new DeleteImage(url.key, tags)
|
||||
]);
|
||||
new DeleteImage(url.key, tags).SetClass("delete-image-marker absolute top-0 left-0 pl-3")
|
||||
]).SetClass("relative");
|
||||
}
|
||||
image
|
||||
.SetClass("w-full block")
|
||||
|
@ -32,7 +32,7 @@ export class ImageCarousel extends UIElement{
|
|||
});
|
||||
|
||||
this.slideshow = new SlideShow(uiElements).HideOnEmpty(true);
|
||||
this.SetClass("block image-carousel-marker");
|
||||
this.SetClass("block w-full");
|
||||
}
|
||||
|
||||
/***
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue