diff --git a/components/teks/teks-drawer.js b/components/teks/teks-drawer.js index 1000423..91b9267 100644 --- a/components/teks/teks-drawer.js +++ b/components/teks/teks-drawer.js @@ -45,7 +45,6 @@ const useStyles = makeStyles(theme => ({ } }, menuButton: { - marginRight: theme.spacing(2), [theme.breakpoints.up('sm')]: { display: 'none' } @@ -69,9 +68,6 @@ const useStyles = makeStyles(theme => ({ text: { marginBottom: '0.5em' }, - button: { - marginRight: '0.5em' - }, gridText: { border: '1px dashed grey', borderRadius: '5px', @@ -136,9 +132,6 @@ export default function TeksDrawer({miziks, mizik}) { - - {teks.titre} - {teks.liens && teks.liens.length > 0 && (
@@ -189,26 +182,31 @@ export default function TeksDrawer({miziks, mizik}) {
{teks ? ( - - - - Transcription - - - {formatJsonString(teks.transcription)} - - - {teks.traductions && ( + <> + + {teks.titre} + + - Traduction + Transcription - {formatJsonString(teks.traductions.francais)} + {formatJsonString(teks.transcription)} - )} - + {teks.traductions && ( + + + Traduction + + + {formatJsonString(teks.traductions.francais)} + + + )} + + ) : ( )}