This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch feat-5949 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit cb22a1209528681d742d4adf33333c468e5420b9 Author: mintsweet <[email protected]> AuthorDate: Wed Oct 18 19:18:05 2023 +1300 fix(config-ui): the style for help-tooltip component --- config-ui/src/components/tooltip/help-tooltip/index.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/config-ui/src/components/tooltip/help-tooltip/index.tsx b/config-ui/src/components/tooltip/help-tooltip/index.tsx index fe1c1bd0f..7dd18507c 100644 --- a/config-ui/src/components/tooltip/help-tooltip/index.tsx +++ b/config-ui/src/components/tooltip/help-tooltip/index.tsx @@ -16,14 +16,13 @@ * */ -import { Icon, Position } from '@blueprintjs/core'; -import { Tooltip2 } from '@blueprintjs/popover2'; +import { Icon, Tooltip, Position } from '@blueprintjs/core'; import styled from 'styled-components'; const Wrapper = styled.span` margin-left: 4px; - & > .bp5-popover2-target { + & > .bp5-popover-target { display: inline-block !important; .bp5-icon { @@ -41,9 +40,9 @@ interface Props { export const HelpTooltip = ({ content, style }: Props) => { return ( <Wrapper style={style}> - <Tooltip2 position={Position.TOP} content={content}> + <Tooltip position={Position.TOP} content={content}> <Icon icon="help" size={12} color="#94959f" /> - </Tooltip2> + </Tooltip> </Wrapper> ); };
