We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8739b38 commit 3586434Copy full SHA for 3586434
src/common/components/view-popup/overlay-popup/preview-popup.js
@@ -31,7 +31,7 @@ function PreviewPopup(props) {
31
onRender={handleRender}
32
>
33
<div ref={innerRef} className="inner">
34
- <img style={{ maxHeight: props.params.height + 'px', maxWidth: props.params.width + 'px' }} src={props.params.image}/>
+ <img height={props.params.height} width={props.params.width} src={props.params.image}/>
35
</div>
36
</ViewPopup>
37
);
src/common/stylesheets/components/_view-popup.scss
@@ -118,7 +118,6 @@
118
overflow-y: auto;
119
120
img {
121
- max-width: 400px;
122
@include pdf-page-image-dark-light;
123
}
124
0 commit comments