fix(chat) keep avatar width inside flex container (#12891)
Co-authored-by: Maria Mironova <maria@example.com>
This commit is contained in:
parent
f98036efa1
commit
e1ac000cd1
|
@ -45,6 +45,7 @@ const useStyles = makeStyles()(theme => {
|
||||||
avatar: {
|
avatar: {
|
||||||
margin: `${theme.spacing(1)} ${theme.spacing(2)} ${theme.spacing(3)} 0`,
|
margin: `${theme.spacing(1)} ${theme.spacing(2)} ${theme.spacing(3)} 0`,
|
||||||
position: 'sticky',
|
position: 'sticky',
|
||||||
|
flexShrink: 0,
|
||||||
top: 0
|
top: 0
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue