Skip to content

Commit

Permalink
fix(code/frontend): combobox in search setting flyout should be stret…
Browse files Browse the repository at this point in the history
…ched to fit the width (#33553)
  • Loading branch information
WangQianliang authored and zfy0701 committed Mar 21, 2019
1 parent 62a07eb commit b9389f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ export class SearchOptions extends Component<Props, State> {
});

optionsFlyout = (
<EuiFlyout onClose={this.closeOptionsFlyout} size="s" aria-labelledby="flyoutSmallTitle">
<EuiFlyout
onClose={this.closeOptionsFlyout}
size="s"
aria-labelledby="flyoutSmallTitle"
className="code-search-settings-flyout"
>
<EuiFlyoutHeader>
<EuiTitle size="s">
<h2 id="flyoutSmallTitle"> Search Settings </h2>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.code-search-settings-flyout {
max-width: 28rem;
}
1 change: 1 addition & 0 deletions x-pack/plugins/code/public/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@
@import "./style/markdown.scss";
@import "./style/shortcuts.scss";
@import "./components/symbol_tree/symbol_tree.scss";
@import "./components/query_bar/query_bar.scss";

0 comments on commit b9389f5

Please sign in to comment.