mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing tooltips to use single component (#3194)
* Removing MaterialTooltip references Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing MaterialTooltip component Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing entity icon hover effect in catalog and settings Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Align share and close tooltip positions Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing EnityIcon selector Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Reverting back selector changes Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing explicit interactive prop Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing interactive prop from catalog icons Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
18587168dc
commit
1f2692c18f
12 files changed
+62
-97
No files matched your search
@@ -29,7 +29,6 @@ import { SubTitle } from "../layout/sub-title";
|
||||
import { TooltipPosition } from "../tooltip";
|
||||
import { ExtensionInstallationStateStore } from "./extension-install.store";
|
||||
import { observer } from "mobx-react";
|
||||
import { MaterialTooltip } from "../material-tooltip/material-tooltip";
|
||||
|
||||
interface Props {
|
||||
installPath: string;
|
||||
@@ -71,13 +70,12 @@ export const Install = observer((props: Props) => {
|
||||
onChange={onChange}
|
||||
onSubmit={installFromInput}
|
||||
iconRight={
|
||||
<MaterialTooltip title="Browse">
|
||||
<Icon
|
||||
className={styles.icon}
|
||||
material="folder_open"
|
||||
onClick={prevDefault(installFromSelectFileDialog)}
|
||||
/>
|
||||
</MaterialTooltip>
|
||||
<Icon
|
||||
className={styles.icon}
|
||||
material="folder_open"
|
||||
onClick={prevDefault(installFromSelectFileDialog)}
|
||||
tooltip="Browse"
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user