Skip to content

Commit 2785bf0

Browse files
yordan-stgjulivan
authored andcommitted
fix: apply height to mx-image-viewer
1 parent 79e8b4e commit 2785bf0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/pluggableWidgets/image-web/src/ui/Image.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.mx-image-viewer {
22
width: 100%;
3+
height: 100%;
34
}
45

56
.mx-image-viewer-responsive img {

packages/pluggableWidgets/image-web/src/utils/helpers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export function constructStyleObject(props: ImageContainerProps): CSSProperties
1515
imageStyle.height = "auto";
1616

1717
if (minHeightUnit !== "none" && minHeight > 0) {
18-
console.warn(minHeight);
1918
imageStyle.minHeight = getHeightScale(minHeight, minHeightUnit);
2019
}
2120

0 commit comments

Comments
 (0)