Skip to content

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

make description input multiline

ammarahm-ed917036f5764c
diff --git a/apps/mobile/src/components/AddNotebookDialog/index.js b/apps/mobile/src/components/AddNotebookDialog/index.js
index 34e800b46..247877065 100644
--- a/apps/mobile/src/components/AddNotebookDialog/index.js
+++ b/apps/mobile/src/components/AddNotebookDialog/index.js
@@ -301,13 +301,15 @@ export class AddNotebookDialog extends React.Component {
borderColor: descFocused ? colors.accent : colors.nav,
paddingHorizontal: ph,
borderRadius: 5,
- height: 35,
- fontSize: SIZE.sm,
+ minHeight: 35,
+ fontSize: SIZE.xs + 1,
fontFamily: WEIGHT.regular,
color: colors.pri,
marginTop: 5,
marginBottom: 10,
}}
+ textAlignVertical="top"
+ numberOfLines={2}
onFocus={() => {
this.setState({
descFocused: true,
@@ -325,7 +327,8 @@ export class AddNotebookDialog extends React.Component {
onSubmitEditing={() => {
this.topicInputRef.focus();
}}
- placeholder="Short description about notebook"
+ multiline
+ placeholder="Write a short description about notebook (optional)"
placeholderTextColor={colors.icon}
/>