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 4aa0d64 commit 064c463
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
render: ({ name, inProgress }: SlmPolicy) => {
return (
<EuiFlexGroup gutterSize="s">
<EuiFlexItem>
<EuiFlexItem grow={false}>
<PolicyExecuteProvider>
{executePolicyPrompt => {
return (
Expand Down Expand Up @@ -220,7 +220,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
}}
</PolicyExecuteProvider>
</EuiFlexItem>
<EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiToolTip
content={i18n.translate(
'xpack.snapshotRestore.policyList.table.actionEditTooltip',
Expand All @@ -242,7 +242,7 @@ export const PolicyTable: React.FunctionComponent<Props> = ({
/>
</EuiToolTip>
</EuiFlexItem>
<EuiFlexItem>
<EuiFlexItem grow={false}>
<PolicyDeleteProvider>
{deletePolicyPrompt => {
return (
Expand Down

0 comments on commit 064c463

Please sign in to comment.