Skip to content

Commit

Permalink
[Save Modal] Quick Fix for Scrollbar (#94640)
Browse files Browse the repository at this point in the history
* quick fixes for no scroll bar on save modals
  • Loading branch information
ThomThomson authored Mar 16, 2021
1 parent f90a4d9 commit bae6021
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class CustomizePanelModal extends Component<CustomizePanelProps, State> {
return (
<EuiFocusTrap clickOutsideDisables={true} initialFocus={'.panelTitleInputText'}>
<EuiOutsideClickDetector onOutsideClick={this.props.cancel}>
<div role="dialog" aria-modal="true" aria-labelledby={titleId}>
<div role="dialog" aria-modal="true" aria-labelledby={titleId} className="euiModal__flex">
<EuiModalHeader>
<EuiModalHeaderTitle data-test-subj="customizePanelTitle">
<h2 id={titleId}>Customize panel</h2>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export class SavedObjectSaveModal extends React.Component<Props, SaveModalState>
className={`kbnSavedObjectSaveModal${hasColumns ? ' kbnSavedObjectsSaveModal--wide' : ''}`}
onClose={this.props.onClose}
>
<form onSubmit={this.onFormSubmit}>
<form onSubmit={this.onFormSubmit} className="euiModal__flex">
<EuiModalHeader>
<EuiModalHeaderTitle>
<FormattedMessage
Expand Down

0 comments on commit bae6021

Please sign in to comment.