diff --git a/app/frontend/src/Overlay/Line.js b/app/frontend/src/Overlay/Line.js index 766bb708..78306c68 100644 --- a/app/frontend/src/Overlay/Line.js +++ b/app/frontend/src/Overlay/Line.js @@ -51,24 +51,31 @@ const Line = ( { return (
{line}
++ + {line} + +
{translations.filter( isNonEmptyString ).map( ( [ name, translation ] ) => (- {translation} + + {translation} +
) )} {transliterations.filter( isNonEmptyString ).map( ( [ name, transliteration ] ) => (- {classifyWords( transliteration, true ).map( - ( { word, type }, i ) => {word}, - )} + + {classifyWords( transliteration, true ).map( + ( { word, type }, i ) => {word}, + )} +
) )} diff --git a/app/frontend/src/Overlay/index.js b/app/frontend/src/Overlay/index.js index 0856b983..2f55a99a 100644 --- a/app/frontend/src/Overlay/index.js +++ b/app/frontend/src/Overlay/index.js @@ -1,4 +1,5 @@ import React, { useContext } from 'react' +import classNames from 'classnames' import Line from './Line' import ThemeLoader from './ThemeLoader' @@ -41,7 +42,10 @@ const Overlay = () => { const getTransliterationFor = languageId => getTransliteration( line, languageId ) return ( -