mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix browse icon onClick event
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
0899ace037
commit
a066d02fe7
@ -1,5 +1,6 @@
|
||||
.icon {
|
||||
@apply h-5 w-5 mr-3 cursor-pointer;
|
||||
background-color: transparent!important;
|
||||
}
|
||||
|
||||
.icon:hover {
|
||||
|
||||
@ -29,6 +29,7 @@ import { SubTitle } from "../layout/sub-title";
|
||||
import { TooltipPosition } from "../tooltip";
|
||||
import { ExtensionInstallationStateStore } from "./extension-install.store";
|
||||
import { observer } from "mobx-react";
|
||||
import { MaterialTooltip } from "../+catalog/material-tooltip/material-tooltip";
|
||||
|
||||
interface Props {
|
||||
installPath: string;
|
||||
@ -70,13 +71,13 @@ export const Install = observer((props: Props) => {
|
||||
onChange={onChange}
|
||||
onSubmit={installFromInput}
|
||||
iconRight={
|
||||
<Icon
|
||||
interactive={false}
|
||||
className={styles.icon}
|
||||
material="folder_open"
|
||||
onClick={prevDefault(installFromSelectFileDialog)}
|
||||
tooltip="Browse"
|
||||
/>
|
||||
<MaterialTooltip title="Browse">
|
||||
<Icon
|
||||
className={styles.icon}
|
||||
material="folder_open"
|
||||
onClick={prevDefault(installFromSelectFileDialog)}
|
||||
/>
|
||||
</MaterialTooltip>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user