Skip to content

Commit 7e4d25d

Browse files
committed
fix scan more
1 parent cb2b019 commit 7e4d25d

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

redisinsight/ui/src/components/scan-more/ScanMore.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ const ScanMore = ({
4040
size="s"
4141
style={style ?? { marginLeft: 25, height: 26 }}
4242
disabled={loading}
43-
className={styles.btn}
4443
onClick={() =>
4544
loadMoreItems?.({
4645
stopIndex: SCAN_COUNT_DEFAULT - 1,
@@ -50,7 +49,11 @@ const ScanMore = ({
5049
data-testid="scan-more"
5150
>
5251
{withAlert && (
53-
<RiTooltip content={WARNING_MESSAGE} position="top">
52+
<RiTooltip
53+
content={WARNING_MESSAGE}
54+
position="top"
55+
anchorClassName={styles.anchor}
56+
>
5457
<RiIcon type="InfoIcon" />
5558
</RiTooltip>
5659
)}
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
.btn {
2-
:global(.euiButtonContent .euiButton__text) {
3-
font: normal normal normal 12px/18px Graphik, sans-serif !important;
4-
letter-spacing: -0.12px;
5-
}
6-
7-
svg {
8-
margin-bottom: 2px;
9-
margin-right: 6px;
10-
}
1+
.anchor {
2+
display: inline-flex;
3+
align-items: center;
4+
justify-content: center;
5+
margin-right: var(--size-s);
116
}

0 commit comments

Comments
 (0)