Skip to content

Commit

Permalink
Rename EuiPopover's display=inlineBlock to inline-block
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jul 27, 2022
1 parent cdce3ff commit 607cb53
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ describe('ResolveAllConflicts', () => {
</EuiLink>
}
closePopover={[Function]}
display="inlineBlock"
display="inline-block"
hasArrow={true}
id="resolveAllConflictsVisibilityPopover"
isOpen={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('AddFilterButton component', () => {
</EuiButtonEmpty>
}
closePopover={[Function]}
display="inlineBlock"
display="inline-block"
hasArrow={true}
id="singlePanel"
isOpen={false}
Expand Down Expand Up @@ -98,7 +98,7 @@ describe('AddFilterButton component', () => {
</EuiButtonEmpty>
}
closePopover={[Function]}
display="inlineBlock"
display="inline-block"
hasArrow={true}
id="singlePanel"
isOpen={false}
Expand Down Expand Up @@ -151,7 +151,7 @@ describe('AddFilterButton component', () => {
</EuiButtonEmpty>
}
closePopover={[Function]}
display="inlineBlock"
display="inline-block"
hasArrow={true}
id="singlePanel"
isOpen={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const ForLastExpression = ({
setAlertDurationPopoverOpen(false);
}}
ownFocus
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downLeft'}
repositionOnScroll
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const GroupByExpression = ({
setGroupByPopoverOpen(false);
}}
ownFocus
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downRight'}
repositionOnScroll
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export const OfExpression = ({
closePopover={() => {
setAggFieldPopoverOpen(false);
}}
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downRight'}
zIndex={8000}
repositionOnScroll
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const ThresholdExpression = ({
setAlertThresholdPopoverOpen(false);
}}
ownFocus
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downLeft'}
repositionOnScroll
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const ValueExpression = ({
setValuePopoverOpen(false);
}}
ownFocus
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downLeft'}
repositionOnScroll
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const WhenExpression = ({
setAggTypePopoverOpen(false);
}}
ownFocus
display={display === 'fullWidth' ? 'block' : 'inlineBlock'}
display={display === 'fullWidth' ? 'block' : 'inline-block'}
anchorPosition={popupPosition ?? 'downLeft'}
repositionOnScroll
>
Expand Down

0 comments on commit 607cb53

Please sign in to comment.