From 4dbdcecaddd5727eab2a22df6b6fd2fe1e0e741c Mon Sep 17 00:00:00 2001 From: evlist Date: Tue, 13 Dec 2022 16:40:16 +0100 Subject: [PATCH] Cosmetics --- src/components/gpx-record/GpxRecord.tsx | 34 ++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/src/components/gpx-record/GpxRecord.tsx b/src/components/gpx-record/GpxRecord.tsx index ee86aa6..6ded8a8 100644 --- a/src/components/gpx-record/GpxRecord.tsx +++ b/src/components/gpx-record/GpxRecord.tsx @@ -50,7 +50,13 @@ const GpxRecord: Component<{}> = (props) => {
@@ -58,6 +64,8 @@ const GpxRecord: Component<{}> = (props) => { = (props) => { {t(`gpx_${state()}`)} - - @@ -84,6 +94,10 @@ const GpxRecord: Component<{}> = (props) => { color='primary' variant='contained' onClick={pauseRecordingHandler} + sx={{ + width: '100%', + margin: '10px', + }} > {t('gpxPauseRecording')} @@ -91,6 +105,10 @@ const GpxRecord: Component<{}> = (props) => { color='warning' variant='contained' onClick={stopRecordingHandler} + sx={{ + width: '100%', + margin: '10px', + }} > {t('gpxStopRecording')} @@ -100,6 +118,10 @@ const GpxRecord: Component<{}> = (props) => { color='primary' variant='contained' onClick={resumeRecordingHandler} + sx={{ + width: '100%', + margin: '10px', + }} > {t('gpxResumeRecording')} @@ -107,11 +129,15 @@ const GpxRecord: Component<{}> = (props) => { color='warning' variant='contained' onClick={stopRecordingHandler} + sx={{ + width: '100%', + margin: '10px', + }} > {t('gpxStopRecording')} - + );