mirror of
https://github.com/apache/superset.git
synced 2024-09-06 22:07:34 -04:00
add tool tip to cards (#11791)
This commit is contained in:
parent
f49525f03e
commit
d364d0354c
@ -20,6 +20,7 @@ import React from 'react';
|
||||
import { styled } from '@superset-ui/core';
|
||||
import Icon from 'src/components/Icon';
|
||||
import { Card, Skeleton, ThinSkeleton } from 'src/common/components';
|
||||
import Tooltip from 'src/common/components/Tooltip';
|
||||
import ImageLoader, { BackgroundPosition } from './ImageLoader';
|
||||
|
||||
const MenuIcon = styled(Icon)`
|
||||
@ -229,15 +230,15 @@ function ListViewCard({
|
||||
{!loading && (
|
||||
<Card.Meta
|
||||
title={
|
||||
<>
|
||||
<TitleContainer>
|
||||
<TitleContainer>
|
||||
<Tooltip title={title}>
|
||||
<TitleLink href={url}>{title}</TitleLink>
|
||||
{titleRight && <div className="title-right"> {titleRight}</div>}
|
||||
<div className="card-actions" data-test="card-actions">
|
||||
{actions}
|
||||
</div>
|
||||
</TitleContainer>
|
||||
</>
|
||||
</Tooltip>
|
||||
{titleRight && <div className="title-right"> {titleRight}</div>}
|
||||
<div className="card-actions" data-test="card-actions">
|
||||
{actions}
|
||||
</div>
|
||||
</TitleContainer>
|
||||
}
|
||||
description={description}
|
||||
// @ts-ignore
|
||||
|
Loading…
Reference in New Issue
Block a user