Skip to content

Commit

Permalink
Fixed horizontal scroll of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Oct 1, 2020
1 parent ff803d3 commit f57e106
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export function InnerWorkspacePanel({

if (localState.expressionBuildError) {
return (
<EuiFlexGroup direction="column" alignItems="center">
<EuiFlexGroup style={{ maxWidth: '100%' }} direction="column" alignItems="center">
<EuiFlexItem>
<EuiIcon type="alert" size="xl" color="danger" />
</EuiFlexItem>
Expand All @@ -283,7 +283,7 @@ export function InnerWorkspacePanel({
onEvent={onEvent}
renderError={(errorMessage?: string | null) => {
return (
<EuiFlexGroup direction="column" alignItems="center">
<EuiFlexGroup style={{ maxWidth: '100%' }} direction="column" alignItems="center">
<EuiFlexItem>
<EuiIcon type="alert" size="xl" color="danger" />
</EuiFlexItem>
Expand Down

0 comments on commit f57e106

Please sign in to comment.