Skip to content

Commit 6d20135

Browse files
authored
Merge pull request #228 from headlamp-k8s/ui-plugin-catalog
plugin-catalog: Fix UI bugs
2 parents b77a25b + ce9c33f commit 6d20135

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugin-catalog/src/components/plugins/Detail.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,16 @@ const pluginSnackbarAction = (closeCallback: () => void) => {
122122
return (
123123
<>
124124
<Button
125+
color="inherit"
125126
onClick={() => {
126127
window.location.reload();
127128
}}
128129
>
129130
Reload Now
130131
</Button>
131-
<Button onClick={closeCallback}>Close</Button>
132+
<Button color="inherit" onClick={closeCallback}>
133+
Close
134+
</Button>
132135
</>
133136
);
134137
};
@@ -222,7 +225,7 @@ export function PurePluginDetail({
222225
color: 'white',
223226
textTransform: 'none',
224227
'&:hover': {
225-
color: 'black',
228+
color: 'inherit',
226229
},
227230
}}
228231
onClick={onInstall}
@@ -233,11 +236,8 @@ export function PurePluginDetail({
233236
) : null
234237
) : (
235238
<>
236-
<LoadingButton progress={currentActionProgress} onCancel={onCancel} />
237239
<Tooltip title={`${currentActionState}:${currentActionMessage}`}>
238-
<Typography variant="body1" sx={{ marginLeft: 1 }}>
239-
{currentAction}
240-
</Typography>
240+
<LoadingButton progress={currentActionProgress} onCancel={onCancel} />
241241
</Tooltip>
242242
</>
243243
),

0 commit comments

Comments
 (0)