<h2>{this.props.modalHeader}</h2>
</div>
- <div className="modal-body">
+ <div className="modal-body modal-container">
{!isUpdateMode && activeInAllProfiles && (
<Alert variant="info">{translate('coding_rules.active_in_all_profiles')}</Alert>
)}
</h2>
</div>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<Alert
variant="info"
<h2>{this.props.header}</h2>
</header>
- <div className="modal-body">
+ <div className="modal-body modal-container">
<div className="modal-field">
<label htmlFor="create-metric-key">
{translate('key')}
</h2>
</header>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<div
className="modal-field"
const PAGE_SIZE = 100;
-export default class EditMembers extends React.PureComponent<Props, State> {
+export default class EditMembersModal extends React.PureComponent<Props, State> {
mounted = false;
constructor(props: Props) {
<h2>{modalHeader}</h2>
</header>
- <div className="modal-body">
+ <div className="modal-body modal-container">
<DeferredSpinner loading={this.state.loading}>
<SelectList
elements={this.state.users.map(user => user.login)}
</button>
</Button>
</ButtonIcon>
- <EditMembers
+ <EditMembersModal
group={
Object {
"id": 3,
</h2>
</header>
<div
- class="modal-body"
+ class="modal-body modal-container"
>
<div
class="select-list"
</h2>
</header>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<DeferredSpinner
loading={true}
</Portal>
</Modal>
</Modal>
- </EditMembers>
+ </EditMembersModal>
</EditMembers>
`;
</h2>
</header>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<DeferredSpinner
loading={false}
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
-import * as classNames from 'classnames';
import { FormattedMessage } from 'react-intl';
import { pickBy, sortBy } from 'lodash';
import { searchAssignees } from '../utils';
<h2>{translateWithParameters('issue_bulk_change.form.title', issues.length)}</h2>
</div>
- <div className={classNames('modal-body', { 'modal-container': limitReached })}>
+ <div className="modal-body modal-container">
{limitReached && (
<Alert variant="warning">
<FormattedMessage
</h2>
</div>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<Alert
variant="warning"
</h2>
</div>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<Checkbox
checked={false}
<h2>{header}</h2>
</div>
- <div className="modal-body" id="profile-projects">
+ <div className="modal-body modal-container" id="profile-projects">
<SelectList
allowBulkSelection={true}
elements={this.state.projects.map(project => project.key)}
</h2>
</div>
<div
- className="modal-body"
+ className="modal-body modal-container"
id="profile-projects"
>
<SelectList
<h2>{header}</h2>
</div>
- <div className="modal-body">
+ <div className="modal-body modal-container">
<SelectList
elements={this.state.groups.map(group => group.name)}
elementsTotalCount={this.state.groupsTotalCount}
<h2>{header}</h2>
</header>
- <div className="modal-body">
+ <div className="modal-body modal-container">
{error && <Alert variant="error">{error}</Alert>}
{!error && user && !user.local && (
</h2>
</div>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<SelectList
elements={
</h2>
</header>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<div
className="modal-field"
</h2>
</header>
<div
- className="modal-body"
+ className="modal-body modal-container"
>
<div
className="modal-field"