File tree 2 files changed +19
-9
lines changed
src/containers/Tenant/Diagnostics/TopQueries
2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 3
3
.kv-query-details {
4
4
display : flex ;
5
5
flex-direction : column ;
6
+
6
7
height : 100% ;
7
- background-color : var (--g-color-base-background-dark );
8
- color : var (--g-color-text-primary-invert );
9
8
padding : var (--g-spacing-5 ) var (--g-spacing-6 );
10
9
10
+ color : var (--g-color-text-primary-invert );
11
+ background-color : var (--g-color-base-background-dark );
12
+
11
13
& __header {
12
14
display : flex ;
13
- align-items : center ;
14
15
justify-content : space-between ;
16
+ align-items : center ;
15
17
}
16
18
17
19
& __title {
18
20
margin : 0 ;
21
+
19
22
font-size : 16px ;
20
23
font-weight : 500 ;
21
24
}
26
29
}
27
30
28
31
& __content {
32
+ overflow : auto ;
29
33
flex : 1 ;
34
+
30
35
padding-top : var (--g-spacing-5 );
31
- overflow : auto ;
32
36
}
33
37
34
38
& __query-section {
39
43
display : flex ;
40
44
justify-content : space-between ;
41
45
align-items : center ;
46
+
42
47
margin-bottom : 12px ;
43
48
}
44
49
48
53
}
49
54
50
55
& __query-content {
51
- background-color : #1e1e1e ;
52
- border-radius : 4px ;
53
- overflow : hidden ;
54
56
position : relative ;
55
57
58
+ overflow : hidden ;
59
+
60
+ border-radius : 4px ;
61
+ background-color : var (--code-background-color );
62
+
56
63
pre {
57
- margin : 0 !important ;
58
64
max-height : 100% ;
65
+ margin : 0 !important ;
66
+
59
67
background-color : transparent !important ;
60
68
}
61
69
}
72
80
display : flex ;
73
81
align-items : center ;
74
82
gap : 6px ;
83
+
75
84
color : var (--g-color-text-secondary-invert );
76
85
77
86
& :hover {
Original file line number Diff line number Diff line change 35
35
36
36
& __drawer-item {
37
37
z-index : 4 ;
38
+
39
+ height : calc (100% + var (--g-spacing-4 ));
38
40
// Because of tabs padding it is needed to move drawer item a little higher
39
41
// to make it stick to bottom of tabs
40
42
margin-top : calc (-1 * var (--g-spacing-4 ));
41
- height : calc (100% + var (--g-spacing-4 ));
42
43
}
43
44
}
You can’t perform that action at this time.
0 commit comments