mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
Merge pull request #58 from brecert/master
fix image overflow on older browsers
This commit is contained in:
commit
a944ed5040
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ const Grid = styled.div`
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue