From 1a5c85ed82cefcecefee7aed0163dbf4f414e86e Mon Sep 17 00:00:00 2001 From: Christopher Date: Mon, 8 Feb 2021 21:29:43 +0100 Subject: [PATCH] fix(notes/nui): better solution for Fab --- phone/src/apps/notes/NotesApp.tsx | 4 ++-- phone/src/apps/notes/notes.styles.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/phone/src/apps/notes/NotesApp.tsx b/phone/src/apps/notes/NotesApp.tsx index c730344..8875d82 100644 --- a/phone/src/apps/notes/NotesApp.tsx +++ b/phone/src/apps/notes/NotesApp.tsx @@ -55,7 +55,8 @@ export const NotesApp = () => { - + { > - ); diff --git a/phone/src/apps/notes/notes.styles.ts b/phone/src/apps/notes/notes.styles.ts index 9e07c84..c1b1cc5 100644 --- a/phone/src/apps/notes/notes.styles.ts +++ b/phone/src/apps/notes/notes.styles.ts @@ -21,9 +21,9 @@ const useStyles = makeStyles((theme) => ({ zIndex: 5, }, absolute: { - position: 'sticky', - bottom: theme.spacing(3), - left: theme.spacing(40), + position: 'absolute', + bottom: theme.spacing(2), + right: theme.spacing(3), }, }));