diff --git a/ui-ngx/src/app/shared/components/image/image-gallery.component.html b/ui-ngx/src/app/shared/components/image/image-gallery.component.html index 882f411dd9..f0cedb6872 100644 --- a/ui-ngx/src/app/shared/components/image/image-gallery.component.html +++ b/ui-ngx/src/app/shared/components/image/image-gallery.component.html @@ -151,7 +151,9 @@ - {{ image.title }} +
+ {{ image.title }} +
@@ -259,7 +261,8 @@ - diff --git a/ui-ngx/src/app/shared/components/image/image-gallery.component.scss b/ui-ngx/src/app/shared/components/image/image-gallery.component.scss index 83dd278e4b..6272b0d42d 100644 --- a/ui-ngx/src/app/shared/components/image/image-gallery.component.scss +++ b/ui-ngx/src/app/shared/components/image/image-gallery.component.scss @@ -275,10 +275,14 @@ $tb-button-selected-color: rgb(255, 110, 64) !default; width: 50px; height: 50px; padding: 2px 12px; - display: block; } } + .tb-image-preview-cell { + width: 50px; + height: 50px; + } + .tb-image-preview { width: 50px; height: 50px; diff --git a/ui-ngx/src/app/shared/components/image/image-gallery.component.ts b/ui-ngx/src/app/shared/components/image/image-gallery.component.ts index 652c9dc214..ea7528651d 100644 --- a/ui-ngx/src/app/shared/components/image/image-gallery.component.ts +++ b/ui-ngx/src/app/shared/components/image/image-gallery.component.ts @@ -29,7 +29,7 @@ import { AfterViewInit, ChangeDetectorRef, Component, - ElementRef, EventEmitter, + ElementRef, EventEmitter, HostBinding, Input, OnDestroy, OnInit, Output, @@ -107,6 +107,9 @@ const popoverGridColumns: ScrollGridColumns = { }) export class ImageGalleryComponent extends PageComponent implements OnInit, OnDestroy, AfterViewInit { + @HostBinding('style.display') + private display = 'block'; + @Input() @coerceBoolean() pageMode = true;