aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/GenerateButton.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-19 15:42:58 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-08-19 21:38:23 +0200
commit6c32ec1af90cf7df179a688617a828eddcff8052 (patch)
treeb724173cd6ef1b622f6ae86054769ecf9fca4b81 /subprojects/frontend/src/editor/GenerateButton.tsx
parentfeat(frontend): responsive editor styling (diff)
downloadrefinery-6c32ec1af90cf7df179a688617a828eddcff8052.tar.gz
refinery-6c32ec1af90cf7df179a688617a828eddcff8052.tar.zst
refinery-6c32ec1af90cf7df179a688617a828eddcff8052.zip
refactor(frontend): update theme
Diffstat (limited to 'subprojects/frontend/src/editor/GenerateButton.tsx')
-rw-r--r--subprojects/frontend/src/editor/GenerateButton.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/frontend/src/editor/GenerateButton.tsx b/subprojects/frontend/src/editor/GenerateButton.tsx
index 14258723..4b998af6 100644
--- a/subprojects/frontend/src/editor/GenerateButton.tsx
+++ b/subprojects/frontend/src/editor/GenerateButton.tsx
@@ -24,8 +24,9 @@ function GenerateButton(): JSX.Element {
24 return ( 24 return (
25 <Button 25 <Button
26 aria-label={`Select next diagnostic out of ${summary}`} 26 aria-label={`Select next diagnostic out of ${summary}`}
27 color="error"
28 onClick={() => editorStore.nextDiagnostic()} 27 onClick={() => editorStore.nextDiagnostic()}
28 color="error"
29 className="rounded"
29 > 30 >
30 {summary} 31 {summary}
31 </Button> 32 </Button>
@@ -35,6 +36,7 @@ function GenerateButton(): JSX.Element {
35 return ( 36 return (
36 <Button 37 <Button
37 color={warningCount > 0 ? 'warning' : 'primary'} 38 color={warningCount > 0 ? 'warning' : 'primary'}
39 className="rounded"
38 startIcon={<PlayArrowIcon />} 40 startIcon={<PlayArrowIcon />}
39 > 41 >
40 {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`} 42 {summary === '' ? GENERATE_LABEL : `${GENERATE_LABEL} (${summary})`}