diff --git a/management/univention-portal/www/PortalGallery.js b/management/univention-portal/www/PortalGallery.js index b6f93023b0..0ec856a6c3 100644 --- a/management/univention-portal/www/PortalGallery.js +++ b/management/univention-portal/www/PortalGallery.js @@ -264,7 +264,7 @@ define([ switch (this.renderMode) { case portalTools.RenderMode.NORMAL: domNode = this.inherited(arguments); - put(domNode, 'a[href=$]', this._getWebInterfaceUrl(item), query('.umcGalleryItem', domNode)[0]); + put(domNode, 'a.umcPortalGallery__app-link[href=$]', this._getWebInterfaceUrl(item)); break; case portalTools.RenderMode.EDIT: if (item.id && item.id === '$addEntryTile$') { diff --git a/management/univention-portal/www/style.styl b/management/univention-portal/www/style.styl index bf65f6868c..62cbd16ccf 100644 --- a/management/univention-portal/www/style.styl +++ b/management/univention-portal/www/style.styl @@ -123,6 +123,13 @@ material-shadow(level) margin-top: 10px display: inline-block + .umcPortalGallery .umcPortalGallery__app-link + position: absolute + top: 0 + right: 0 + bottom: 0 + left: 0 + z-index: 1 // Styling for the inline editing toolbar, floating button and dialogs .portalEditBar,