From 3a57fe73a54603740ebb64d1fc91e53b7e73fcb3 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Fri, 31 May 2024 11:55:55 +0300 Subject: [PATCH 1/2] UI: Fixed layout with long file name --- .../shared/components/image/gallery-image-input.component.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss b/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss index d1c9e953a7..17552a24d7 100644 --- a/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss +++ b/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss @@ -98,6 +98,7 @@ $containerHeight: 96px !default; color: rgba(0, 0, 0, 0.54); overflow: hidden; text-overflow: ellipsis; + word-break: break-all; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; @@ -152,6 +153,7 @@ $containerHeight: 96px !default; } .tb-image-clear-btn { + display: flex; color: rgba(0,0,0,0.38); } } From 5636ef08c1b0bca707021e2bce97cf091163e1a1 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Fri, 31 May 2024 15:04:46 +0300 Subject: [PATCH 2/2] UI: Refactoring --- .../shared/components/image/gallery-image-input.component.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss b/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss index 17552a24d7..cf228e7c9d 100644 --- a/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss +++ b/ui-ngx/src/app/shared/components/image/gallery-image-input.component.scss @@ -153,7 +153,6 @@ $containerHeight: 96px !default; } .tb-image-clear-btn { - display: flex; color: rgba(0,0,0,0.38); } }