mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Align share and close tooltip positions
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
594fdda022
commit
021eb8f6a7
@ -31,6 +31,7 @@ import { TopBar } from "../layout/topbar";
|
||||
import type { RouteComponentProps } from "react-router";
|
||||
import type { ClusterViewRouteParams } from "../../../common/routes";
|
||||
import type { Cluster } from "../../../main/cluster";
|
||||
import { TooltipPosition } from "../tooltip";
|
||||
|
||||
interface Props extends RouteComponentProps<ClusterViewRouteParams> {
|
||||
}
|
||||
@ -49,7 +50,10 @@ export const ClusterTopbar = observer((props: Props) => {
|
||||
onClick={() => {
|
||||
navigate(`${catalogURL()}/${previousActiveTab.get()}`);
|
||||
}}
|
||||
tooltip="Back to Catalog"
|
||||
tooltip={{
|
||||
preferredPositions: TooltipPosition.BOTTOM_RIGHT,
|
||||
children: "Back to Catalog"
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</TopBar>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user