Skip to content

Commit

Permalink
Fix Snapshots Policies Alignment Issue in IE11 (#54866) (#58065)
Browse files Browse the repository at this point in the history
* Removed flex group because it's causing alignment issues on IE. Verified and tested on all 3 browsers.

* Restored <EuiFlexItem> but added grow=false to properly align icons.

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
John Dorlus and elasticmachine authored Feb 27, 2020
1 parent e873e7d commit bc41f88
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
render: ({ name, inProgress, isManagedPolicy }: SlmPolicy) => {
return (
<EuiFlexGroup gutterSize="s">
<EuiFlexItem>
<EuiFlexItem grow={false}>
<PolicyExecuteProvider>
{executePolicyPrompt => {
return (
Expand Down Expand Up @@ -235,7 +235,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
}}
</PolicyExecuteProvider>
</EuiFlexItem>
<EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiToolTip
content={i18n.translate(
'xpack.snapshotRestore.policyList.table.actionEditTooltip',
Expand All @@ -257,7 +257,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
/>
</EuiToolTip>
</EuiFlexItem>
<EuiFlexItem>
<EuiFlexItem grow={false}>
<PolicyDeleteProvider>
{deletePolicyPrompt => {
const label = !isManagedPolicy
Expand Down

0 comments on commit bc41f88

Please sign in to comment.