From c47d98d2ebfc47dcf9c173e610773532ab188207 Mon Sep 17 00:00:00 2001 From: Delucse <46593742+Delucse@users.noreply.github.com> Date: Wed, 9 Dec 2020 09:34:33 +0100 Subject: [PATCH] compile button --- src/components/Workspace/Compile.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/Workspace/Compile.js b/src/components/Workspace/Compile.js index e2e4768..f8a204a 100644 --- a/src/components/Workspace/Compile.js +++ b/src/components/Workspace/Compile.js @@ -23,7 +23,7 @@ const styles = (theme) => ({ zIndex: theme.zIndex.drawer + 1, color: '#fff', }, - button: { + iconButton: { backgroundColor: theme.palette.button.compile, color: theme.palette.primary.contrastText, width: '40px', @@ -32,6 +32,14 @@ const styles = (theme) => ({ backgroundColor: theme.palette.button.compile, color: theme.palette.primary.contrastText, } + }, + button: { + backgroundColor: theme.palette.button.compile, + color: theme.palette.primary.contrastText, + '&:hover': { + backgroundColor: theme.palette.button.compile, + color: theme.palette.primary.contrastText, + } } }); @@ -113,14 +121,14 @@ class Compile extends Component { {this.props.iconButton ? this.compile()} > : - }