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) => {
346346 </ EuiToolTip >
347347 ) }
348348 </ 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 && (
355355 < div className = { styles . dropdownWrapper } >
356356 < div className = { styles . dropdown } >
357357 < EuiSuperSelect
@@ -364,8 +364,8 @@ const QueryCardHeader = (props: Props) => {
364364 />
365365 </ div >
366366 </ div >
367- </ EuiFlexItem >
368- ) }
367+ ) }
368+ </ EuiFlexItem >
369369 < EuiFlexItem
370370 grow = { false }
371371 className = { cx ( styles . buttonIcon , styles . viewTypeIcon ) }
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ $marginIcon: 12px;
4444}
4545
4646.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 );
4949
5050 @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 );
5353 }
5454}
5555
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ $breakpoint-l: 1300px;
66$breakpoint-m : 1050px ;
77
88.containerWrapper {
9- min-width : 560 px ;
9+ min-width : 662 px ;
1010 @media (min-width : $breakpoint-m ) {
11- min-width : 700 px ;
11+ min-width : 762 px ;
1212 }
1313 & :nth-of-type (even ) {
1414 background-color : var (--euiColorEmptyShade ) !important ;
Original file line number Diff line number Diff line change @@ -27,15 +27,12 @@ export const VIEW_TYPE_OPTIONS = [
2727export const getViewTypeOptions = ( ) =>
2828 [ ...VIEW_TYPE_OPTIONS ]
2929
30-
3130export const SEARCH_COMMANDS = [ 'ft.search' , 'ft.aggregate' ]
3231export const GRAPH_COMMANDS = [ 'graph.query' ]
3332
3433const ALLOWED_PROFILE_COMMANDS = [ ...SEARCH_COMMANDS , ...GRAPH_COMMANDS ]
3534
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 ( ) )
3936
4037export enum ProfileQueryType {
4138 Profile = 'Profile' ,
You can’t perform that action at this time.
0 commit comments