mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Feat / Reusable SearchField + Fixed Messages align bottom flex with scroll (first message starts at bottom) (#151)
* feat(phone/ui): Make SearchField a reusable component * Fixed conversation scrolling and align bottom * feat(phone/ui): Autoscroll fix * feat(phone/ui): Autoscroll fix remove unused deps * feat(phone/ui): Autoscroll add needed dep for new messages
This commit is contained in:
1 parent
1659fa1654
commit
e56ae415dc
13 files changed
+162
-196
No files matched your search
@@ -12,7 +12,7 @@ interface IProps {
|
||||
}
|
||||
|
||||
const useStyles = makeStyles({
|
||||
root: { position: 'absolute', bottom: 0, width: '100%' },
|
||||
root: { width: '100%' },
|
||||
});
|
||||
|
||||
const MessageInput = ({ messageGroupId, onAddImageClick }: IProps) => {
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Fab } from '@material-ui/core';
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
position: 'absolute',
|
||||
bottom: theme.spacing(2),
|
||||
bottom: theme.spacing(5),
|
||||
right: theme.spacing(3),
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user