mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 13:55:54 +03:00
chat: refine image scaling
This commit is contained in:
parent
48ae088bbd
commit
9aa4d96fb5
@ -88,7 +88,8 @@ export class Message extends Component {
|
||||
src={letter.url}
|
||||
style={{
|
||||
height: 'min(250px, 20vh)',
|
||||
maxWidth: '80vw'
|
||||
maxWidth: 'calc(100% - 36px - 1.5rem)',
|
||||
objectFit: 'contain'
|
||||
}}
|
||||
></img>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user