File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
redisinsight/ui/src/components/scan-more Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ const ScanMore = ({
40
40
size = "s"
41
41
style = { style ?? { marginLeft : 25 , height : 26 } }
42
42
disabled = { loading }
43
- className = { styles . btn }
44
43
onClick = { ( ) =>
45
44
loadMoreItems ?.( {
46
45
stopIndex : SCAN_COUNT_DEFAULT - 1 ,
@@ -50,7 +49,11 @@ const ScanMore = ({
50
49
data-testid = "scan-more"
51
50
>
52
51
{ withAlert && (
53
- < RiTooltip content = { WARNING_MESSAGE } position = "top" >
52
+ < RiTooltip
53
+ content = { WARNING_MESSAGE }
54
+ position = "top"
55
+ anchorClassName = { styles . anchor }
56
+ >
54
57
< RiIcon type = "InfoIcon" />
55
58
</ RiTooltip >
56
59
) }
Original file line number Diff line number Diff line change 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 );
11
6
}
You can’t perform that action at this time.
0 commit comments