Skip to content

Commit 3050719

Browse files
authored
Merge branch 'main' into jdj/remove-small-style-from-base
2 parents 769485e + ba92b99 commit 3050719

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/components/Common/EmptyData/EmptyData.module.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
}
66
width: 100%;
77
}
8+
89
.title {
910
font-size: var(--g-fontSizeHeading3);
1011
font-weight: var(--g-fontWeightMedium);
1112
color: var(--g-colorBodyContent);
1213
}
14+
15+
.image {
16+
max-width: 100%;
17+
display: block;
18+
}

src/components/Common/EmptyData/EmptyData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function EmptyData({ title, description, children }: EmptyDataProps) {
1515
return (
1616
<div className={styles.emptyData} data-testid="emptydata">
1717
<Flex flexDirection="column" alignItems="center">
18-
<img src={magnifyingGlass} alt={t('icons.magnifyingGlass')} />
18+
<img src={magnifyingGlass} alt={t('icons.magnifyingGlass')} className={styles.image} />
1919
{title && (
2020
<Text weight="bold" className={styles.title}>
2121
{title}

src/styles/_Base.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@
1414
box-sizing: border-box;
1515
}
1616

17-
/* Make images easier to work with */
18-
img,
19-
picture {
20-
max-width: 100%;
21-
display: block;
22-
}
23-
2417
ul {
2518
margin: 0;
2619
display: flex;

0 commit comments

Comments
 (0)