diff --git a/next.config.js b/next.config.js index 2c1f48f..482514b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,3 @@ module.exports = { - basePath: '/data-editor', + basePath: '/dataeditor', } diff --git a/src/components/LoadingIndicator.js b/src/components/LoadingIndicator.js index d197376..d151a9c 100644 --- a/src/components/LoadingIndicator.js +++ b/src/components/LoadingIndicator.js @@ -3,9 +3,9 @@ import React from 'react' import styles from './LoadingIndicator.module.css' export default function LoadingIndicator() { - return ( -
-
-
- ) + return ( +
+
+
+ ) } diff --git a/src/components/Question.js b/src/components/Question.js index 0d5d6ea..571bf3a 100644 --- a/src/components/Question.js +++ b/src/components/Question.js @@ -5,125 +5,130 @@ import styles from './question.module.css' const overflowLength = 140 export default function Question({ question, onChange, index }) { - // FIXME: focus change when input changes to textarea - const possibleAnswers = - question.possibleAnswers || question.data.possibleAnswers + // FIXME: focus change when input changes to textarea + const possibleAnswers = + question.possibleAnswers || question.data.possibleAnswers - return ( -
- {question.Q && question.Q.length > overflowLength ? ( -