Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui changes

ammarahm-edc52e4c9ef034
diff --git a/apps/mobile/src/views/Notebook/index.js b/apps/mobile/src/views/Notebook/index.js
index a23c4a271..ef856018c 100644
--- a/apps/mobile/src/views/Notebook/index.js
+++ b/apps/mobile/src/views/Notebook/index.js
@@ -161,8 +161,8 @@ export const Notebook = ({navigation}) => {
}}
style={{
borderRadius: 5,
- width: '90%',
- marginHorizontal: '5%',
+ width: w - 24,
+ marginHorizontal: 12,
paddingHorizontal: ph,
paddingVertical: pv + 5,
flexDirection: 'row',
diff --git a/apps/mobile/src/views/Notes/index.js b/apps/mobile/src/views/Notes/index.js
index cb7a7f006..e129c83a0 100644
--- a/apps/mobile/src/views/Notes/index.js
+++ b/apps/mobile/src/views/Notes/index.js
@@ -23,6 +23,7 @@ import {AnimatedSafeAreaView} from '../Home';
import {db} from '../../../App';
import * as Animatable from 'react-native-animatable';
import {useAppContext} from '../../provider/useAppContext';
+import {w} from '../../utils/utils';
export const Notes = ({navigation}) => {
const {colors} = useAppContext();
@@ -138,8 +139,8 @@ export const Notes = ({navigation}) => {
}}
style={{
borderRadius: 5,
- width: '90%',
- marginHorizontal: '5%',
+ width: w - 24,
+ marginHorizontal: 12,
paddingHorizontal: ph,
paddingVertical: pv + 5,
flexDirection: 'row',
diff --git a/apps/mobile/src/views/Trash/index.js b/apps/mobile/src/views/Trash/index.js
index 4f6bb6d38..794b8db7b 100644
--- a/apps/mobile/src/views/Trash/index.js
+++ b/apps/mobile/src/views/Trash/index.js
@@ -14,7 +14,7 @@ import {useAppContext} from '../../provider/useAppContext';
import {db} from '../../../App';
import {NotebookItem} from '../../components/NotebookItem';
import {Dialog} from '../../components/Dialog';
-import {ToastEvent} from '../../utils/utils';
+import {ToastEvent, w} from '../../utils/utils';
import {TrashPlaceHolder} from '../../components/ListPlaceholders';
export const Trash = ({navigation}) => {
@@ -111,8 +111,8 @@ export const Trash = ({navigation}) => {
}}
style={{
borderRadius: 5,
- width: '90%',
- marginHorizontal: '5%',
+ width: w - 24,
+ marginHorizontal: 12,
paddingHorizontal: ph,
paddingVertical: pv + 5,
flexDirection: 'row',