Skip to content

Commit 80b560f

Browse files
authored
Fix object card (#223)
1 parent 0afd0ed commit 80b560f

16 files changed

+7
-3
lines changed

src/lib/kit/components/Card/Card.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,12 @@
6464
}
6565

6666
&__title {
67-
display: flex;
6867
max-width: 533px;
68+
height: 20px;
69+
}
70+
71+
&__title-popover {
72+
height: 20px;
6973
}
7074

7175
&__note {

src/lib/kit/components/Card/Card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export const Card: React.FC<CardProps> = ({
7878
content={propsTitle}
7979
disabled={titlePopoverDisabled}
8080
placement={COMMON_POPOVER_PLACEMENT}
81+
className={b('title-popover')}
8182
>
8283
<Text
8384
className={b('title')}
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)