Fix #6932 UI | Full Table name is not displayed on the Table Home Page (#6933)

This commit is contained in:
Sachin Chaurasiya 2022-08-26 00:36:53 +05:30 committed by GitHub
parent ef5de94a8f
commit ff1d2c251a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@
import { faAngleRight } from '@fortawesome/free-solid-svg-icons'; import { faAngleRight } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { Tooltip } from 'antd';
import classNames from 'classnames'; import classNames from 'classnames';
import React, { import React, {
FunctionComponent, FunctionComponent,
@ -106,17 +107,19 @@ const TitleBreadcrumb: FunctionComponent<TitleBreadcrumbProps> = ({
</Link> </Link>
) : ( ) : (
<> <>
<span <Tooltip align={{ offset: [0, 10] }} title={link.name}>
className={classNames( <span
classes, className={classNames(
'tw-cursor-text hover:tw-text-primary hover:tw-no-underline' classes,
)} 'tw-cursor-text hover:tw-text-primary hover:tw-no-underline'
data-testid="inactive-link" )}
style={{ data-testid="inactive-link"
maxWidth, style={{
}}> maxWidth,
{link.name} }}>
</span> {link.name}
</span>
</Tooltip>
{noLink && index < titleLinks.length - 1 && ( {noLink && index < titleLinks.length - 1 && (
<span className="tw-px-2"> <span className="tw-px-2">
<FontAwesomeIcon <FontAwesomeIcon