minor fixes on plugins

This commit is contained in:
Eduard Heimbuch
2019-09-18 16:15:29 +02:00
parent 913b7080fd
commit 60fc7f2889
3 changed files with 5 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ const styles = {
minWidth: "5.5em"
},
userLabelMarginLarge: {
minWidth: "9em"
minWidth: "10em"
},
userFieldFlex: {
flexGrow: 4
@@ -130,7 +130,7 @@ class PluginModal extends React.Component<Props, State> {
const { pluginAction, onClose, t } = this.props;
const { loading, error, restart, success } = this.state;
let color = "primary";
let color = pluginAction === PluginAction.UNINSTALL ? "warning" : "primary";
let label = `plugins.modal.${pluginAction}`;
if (restart) {
color = "warning";