Skip to content

Commit 3ea2bd5

Browse files
committed
fix: fix lint
1 parent 1b98190 commit 3ea2bd5

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

Diff for: src/containers/Tenant/Diagnostics/TopQueries/QueryDetails.scss

+17-8
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@
33
.kv-query-details {
44
display: flex;
55
flex-direction: column;
6+
67
height: 100%;
7-
background-color: var(--g-color-base-background-dark);
8-
color: var(--g-color-text-primary-invert);
98
padding: var(--g-spacing-5) var(--g-spacing-6);
109

10+
color: var(--g-color-text-primary-invert);
11+
background-color: var(--g-color-base-background-dark);
12+
1113
&__header {
1214
display: flex;
13-
align-items: center;
1415
justify-content: space-between;
16+
align-items: center;
1517
}
1618

1719
&__title {
1820
margin: 0;
21+
1922
font-size: 16px;
2023
font-weight: 500;
2124
}
@@ -26,9 +29,10 @@
2629
}
2730

2831
&__content {
32+
overflow: auto;
2933
flex: 1;
34+
3035
padding-top: var(--g-spacing-5);
31-
overflow: auto;
3236
}
3337

3438
&__query-section {
@@ -39,6 +43,7 @@
3943
display: flex;
4044
justify-content: space-between;
4145
align-items: center;
46+
4247
margin-bottom: 12px;
4348
}
4449

@@ -48,14 +53,17 @@
4853
}
4954

5055
&__query-content {
51-
background-color: #1e1e1e;
52-
border-radius: 4px;
53-
overflow: hidden;
5456
position: relative;
5557

58+
overflow: hidden;
59+
60+
border-radius: 4px;
61+
background-color: var(--code-background-color);
62+
5663
pre {
57-
margin: 0 !important;
5864
max-height: 100%;
65+
margin: 0 !important;
66+
5967
background-color: transparent !important;
6068
}
6169
}
@@ -72,6 +80,7 @@
7280
display: flex;
7381
align-items: center;
7482
gap: 6px;
83+
7584
color: var(--g-color-text-secondary-invert);
7685

7786
&:hover {

Diff for: src/containers/Tenant/Diagnostics/TopQueries/TopQueries.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@
3535

3636
&__drawer-item {
3737
z-index: 4;
38+
39+
height: calc(100% + var(--g-spacing-4));
3840
// Because of tabs padding it is needed to move drawer item a little higher
3941
// to make it stick to bottom of tabs
4042
margin-top: calc(-1 * var(--g-spacing-4));
41-
height: calc(100% + var(--g-spacing-4));
4243
}
4344
}

0 commit comments

Comments
 (0)