Skip to content

Commit

Permalink
add max-width to flex item
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Feb 22, 2018
1 parent 0d156c4 commit 33ac27d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exports[`render 1`] = `
wrap={false}
>
<EuiFlexItem
className="recentlyAccessedFlexItem"
component="div"
grow={false}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class RecentlyAccessed extends React.Component {
<EuiSpacer size="s"/>

<EuiFlexGroup justifyContent="spaceBetween" alignItems="flexEnd">
<EuiFlexItem grow={false}>
<EuiFlexItem grow={false} className="recentlyAccessedFlexItem">
<EuiFlexGroup>
{this.renderRecentlyAccessed()}
</EuiFlexGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
line-height: normal;
}

.recentlyAccessedFlexItem {
max-width: 1000px;
}

.recentlyAccessedDropwdownLink {
white-space: nowrap;
height: 18px;
Expand Down

0 comments on commit 33ac27d

Please sign in to comment.