Make small images not scale up in image viewer (#1554)
Instead show them in real resolution
This commit is contained in:
parent
9ecb233763
commit
2889a72b81
1 changed files with 4 additions and 2 deletions
|
@ -32,8 +32,10 @@ export const ImageViewerImg = style([
|
|||
DefaultReset,
|
||||
{
|
||||
objectFit: 'contain',
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
width: 'auto',
|
||||
height: 'auto',
|
||||
maxWidth: '100%',
|
||||
maxHeight: '100%',
|
||||
backgroundColor: color.Surface.Container,
|
||||
transition: 'transform 100ms linear',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue