File tree Expand file tree Collapse file tree 4 files changed +15
-18
lines changed Expand file tree Collapse file tree 4 files changed +15
-18
lines changed Original file line number Diff line number Diff line change @@ -346,12 +346,12 @@ const QueryCardHeader = (props: Props) => {
346
346
</ EuiToolTip >
347
347
) }
348
348
</ EuiFlexItem >
349
- { isOpen && canCommandProfile && ! summaryText && (
350
- < EuiFlexItem
351
- grow = { false }
352
- className = { cx ( styles . buttonIcon , styles . viewTypeIcon ) }
353
- onClick = { onDropDownViewClick }
354
- >
349
+ < EuiFlexItem
350
+ grow = { false }
351
+ className = { cx ( styles . buttonIcon , styles . viewTypeIcon ) }
352
+ onClick = { onDropDownViewClick }
353
+ >
354
+ { isOpen && canCommandProfile && ! summaryText && (
355
355
< div className = { styles . dropdownWrapper } >
356
356
< div className = { styles . dropdown } >
357
357
< EuiSuperSelect
@@ -364,8 +364,8 @@ const QueryCardHeader = (props: Props) => {
364
364
/>
365
365
</ div >
366
366
</ div >
367
- </ EuiFlexItem >
368
- ) }
367
+ ) }
368
+ </ EuiFlexItem >
369
369
< EuiFlexItem
370
370
grow = { false }
371
371
className = { cx ( styles . buttonIcon , styles . viewTypeIcon ) }
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ $marginIcon: 12px;
44
44
}
45
45
46
46
.titleWrapper {
47
- width : calc (100% - 490 px );
48
- min-width : calc (100% - 490 px );
47
+ width : calc (100% - 552 px );
48
+ min-width : calc (100% - 552 px );
49
49
50
50
@media (min-width : $breakpoint-m ) {
51
- width : calc (100% - 627 px );
52
- min-width : calc (100% - 627 px );
51
+ width : calc (100% - 689 px );
52
+ min-width : calc (100% - 689 px );
53
53
}
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ $breakpoint-l: 1300px;
6
6
$breakpoint-m : 1050px ;
7
7
8
8
.containerWrapper {
9
- min-width : 560 px ;
9
+ min-width : 662 px ;
10
10
@media (min-width : $breakpoint-m ) {
11
- min-width : 700 px ;
11
+ min-width : 762 px ;
12
12
}
13
13
& :nth-of-type (even ) {
14
14
background-color : var (--euiColorEmptyShade ) !important ;
Original file line number Diff line number Diff line change @@ -27,15 +27,12 @@ export const VIEW_TYPE_OPTIONS = [
27
27
export const getViewTypeOptions = ( ) =>
28
28
[ ...VIEW_TYPE_OPTIONS ]
29
29
30
-
31
30
export const SEARCH_COMMANDS = [ 'ft.search' , 'ft.aggregate' ]
32
31
export const GRAPH_COMMANDS = [ 'graph.query' ]
33
32
34
33
const ALLOWED_PROFILE_COMMANDS = [ ...SEARCH_COMMANDS , ...GRAPH_COMMANDS ]
35
34
36
- export const isCommandAllowedForProfile = ( query : string ) => {
37
- return ALLOWED_PROFILE_COMMANDS . includes ( query ?. split ( ' ' ) ?. [ 0 ] ?. toLowerCase ( ) )
38
- }
35
+ export const isCommandAllowedForProfile = ( query : string ) => ALLOWED_PROFILE_COMMANDS . includes ( query ?. split ( ' ' ) ?. [ 0 ] ?. toLowerCase ( ) )
39
36
40
37
export enum ProfileQueryType {
41
38
Profile = 'Profile' ,
You can’t perform that action at this time.
0 commit comments