DisableEventIndexDialog: Properly indent the content of the BaseDialog.
							parent
							
								
									b59863781f
								
							
						
					
					
						commit
						72a58d0c2c
					
				|  | @ -60,16 +60,16 @@ export default class DisableEventIndexDialog extends React.Component { | |||
|                 onFinished={this.props.onFinished} | ||||
|                 title={_t("Are you sure?")} | ||||
|             > | ||||
|             {_t("If disabled, messages from encrypted rooms won't appear in search results.")} | ||||
|             <div className="mx_Dialog_buttons"> | ||||
|                 <AccessibleButton kind="secondary" onClick={this.props.onFinished}> | ||||
|                     {_t("Cancel")} | ||||
|                 </AccessibleButton> | ||||
|                 <AccessibleButton kind="danger" disabled={this.state.disabling} onClick={this._onDisable}> | ||||
|                     {_t("Disable")} | ||||
|                 </AccessibleButton> | ||||
|                 {this.state.enabling ? <InlineSpinner /> : <div />} | ||||
|             </div> | ||||
|                 {_t("If disabled, messages from encrypted rooms won't appear in search results.")} | ||||
|                 <div className="mx_Dialog_buttons"> | ||||
|                     <AccessibleButton kind="secondary" onClick={this.props.onFinished}> | ||||
|                         {_t("Cancel")} | ||||
|                     </AccessibleButton> | ||||
|                     <AccessibleButton kind="danger" disabled={this.state.disabling} onClick={this._onDisable}> | ||||
|                         {_t("Disable")} | ||||
|                     </AccessibleButton> | ||||
|                     {this.state.enabling ? <InlineSpinner /> : <div />} | ||||
|                 </div> | ||||
|             </BaseDialog> | ||||
|         ); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Damir Jelić
						Damir Jelić