Skip to content

Commit

Permalink
Fix Snapshots Policies Alignment Issue in IE11 (elastic#54866)
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.
  • Loading branch information
John Dorlus committed Feb 19, 2020
1 parent bd2d76f commit ca3d2d0
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 ca3d2d0

Please sign in to comment.