diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-08-19 15:42:58 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-08-19 21:38:23 +0200 |
commit | 6c32ec1af90cf7df179a688617a828eddcff8052 (patch) | |
tree | b724173cd6ef1b622f6ae86054769ecf9fca4b81 /subprojects/frontend/src/editor/GenerateButton.tsx | |
parent | feat(frontend): responsive editor styling (diff) | |
download | refinery-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.tsx | 4 |
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})`} |